export type Thunk = () => T export function thunk(value: T): Thunk { return () => value }