3 | Node (BTree a) a (BTree a)
6testTree = Node (Node Leaf "Jim" Leaf)
8 (Node (Node Leaf "Alice" Leaf)
10 (Node Leaf "Bob" Leaf))
12treeTagAux : (i : Int) -> BTree a -> (Int, BTree (Int, a))
13treeTagAux i Leaf = (i, Leaf)
14treeTagAux i (Node l x r)
15 = let (i', l') = treeTagAux i l in
17 let (i'', r') = treeTagAux (i' + 1) r in
20treeTag : (i : Int) -> BTree a -> BTree (Int, a)
21treeTag i x = snd (treeTagAux i x)
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