2title = "2l: Container from Container"
11Produces a map from a list `a`.
24++ malt :: map from list
26 (molt `(list [p=_-<.a q=_->.a])`a)
32 > (malt [['ok' 'no'] ['a' 'b'] ['x' 'y'] ~])
33 [n=[p='x' q='y'] l={[p='a' q='b'] [p='ok' q='no']} r={}]
35 > (malt ~[[1 2 3] [4 5 6] [7 8 9]])
36 [n=[p=1 q=[2 3]] l={[p=4 q=[5 6]] [p=7 q=[8 9]]} r={}]
45Produces a map from a list of pairs `a`.
49`a` is a list of pairs.
60 (~(gas by `(tree [p=_p.i.-.a q=_q.i.-.a})`~) a)
66 > =a `(list (pair))`[[1 2] [4 3] [11 0] ~]
68 > ~[[p=1 q=2] [p=4 q=3] [p=11 q=0]]
71 [n=[p=11 q=0] l={[p=4 q=3] [p=1 q=2]} r={}]
76Only used internally as a helper to `malt`.
84Produces a set from a list `a`.
99 =+ b=*(tree _?>(?=(^ a) i.a))
106 > (silt `(list @t)`['c' 'hoon' 'javascript' 'python' ~])
107 [n='javascript' l={} r={'python' 'hoon' 'c'}]
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