3 data Auto s i o = Auto { state :: s, step :: s -> i -> o }
5 type SomeAuto i o = forall r. (forall s. Auto s i o -> r) -> r
7 exists :: forall s i o. s -> (s -> i -> o) -> SomeAuto i o
8 exists = \state step f -> f (Auto { state: state, step: step })
10 run :: forall i o. SomeAuto i o -> i -> o
11 run = \s i -> s (\a -> case a of Auto a -> a.step a.state i)
13 main = Debug.Trace.trace "Done"
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list