still struggling with - ``` import tables, future type Action*[T, T1] = proc(value: T, state: T1): T1 {.noSideEffect, gcsafe, locks: 0.} ActionKinds {.pure.} = enum CountUp State = object count: int proc app*[T, T1](state: T1, actions: Table[int, Action[T, T1]]) = echo "foo" let state = State(count: 0) discard app[int, State](state, {0: (value: int, state: State) => State(count: state.count + value)}.toTable) ```