4 | Node (BTree a) a (BTree a)
7testTree = Node (Node Leaf "Jim" Leaf)
9 (Node (Node Leaf "Alice" Leaf)
11 (Node Leaf "Bob" Leaf))
14treeTagAux : (tag : Var) -> BTree a -> ST m (BTree (Int, a)) [tag ::: State Int]
15treeTagAux tag Leaf = pure Leaf
16treeTagAux tag (Node left val right)
17 = do left' <- treeTagAux tag left
19 write tag (thisTag + 1)
20 right' <- treeTagAux tag right
21 pure (Node left' (thisTag, val) right')
23treeTag : (i : Int) -> BTree a -> BTree (Int, a)
24treeTag i tree = runPure (do tag <- new i
25 t <- treeTagAux tag tree
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