module main struct State {} type Func = fn (shared state State) string