5 data Id = Id forall a. a -> a
7 runId = \id a -> case id of
10 data Nat = Nat forall r. r -> (r -> r) -> r
12 runNat = \nat -> case nat of
13 Nat f -> f 0 (\n -> n + 1)
15 zero = Nat (\zero _ -> zero)
17 succ = \n -> case n of
18 Nat f -> Nat (\zero succ -> succ (f zero succ))
20 add = \n m -> case n of
22 Nat g -> Nat (\zero succ -> g (f zero succ) succ)
27 fourNumber = runNat four
29 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