3data Pattern = PData String [Pattern] | PVar String | PAnything
11 | Binop String Expr Expr
19 | Let [(String,Expr)] Expr
21 | Case Expr [(Pattern,Expr)]
25cons h t = Data "Cons" [h,t]
28tuple es = Data ("Tuple" ++ show (length es)) es
30delist (Data "Cons" [h,t]) = h : delist t
34pcons h t = PData "Cons" [h,t]
36plist = foldr pcons pnil
37ptuple es = PData ("Tuple" ++ show (length es)) es
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