5test1 arr = arr !! 0 + arr !! 1 + 1
7test2 = \arr -> case arr of
13data Tree = One Number | Some [Tree]
15test3 = \tree sum -> case tree of
17 Some (n1 : n2 : rest) -> test3 n1 sum * 10 + test3 n2 sum * 5 + sum rest
19test4 = \arr -> case arr of
22 x : y : xs -> x * y + test4 xs
24main = 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