-record(state, {run :: fun((any()) -> {any(), any()})}).