8data Array n a = Array [a]
10nil :: forall a. Array Z a
14 "function concat(l1) {\
15 \ return function (l2) {\
16 \ return l1.concat(l2);\
18 \}" :: forall a. [a] -> [a] -> [a]
20cons :: forall a n. a -> Array n a -> Array (S n) a
21cons x (Array xs) = Array $ concat [x] xs
24 "function error(msg) {\
26 \}" :: forall a. String -> a
28main = case cons 1 $ cons 2 $ cons 3 nil of
29 Array [1, 2, 3] -> 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