6# 2o: normalizing containers
10Tile generator. A `++jar` is a `++map` of `++list`.
15 ++ jar |*({a/$-(* *) b/$-(* *)} (map a (list b))) :: map of lists
21See also: `++ja`, `++by`, `++map`, `++list`
29 > =c (mo (limo [[%a a] [%b b] ~]))
31 {[p=%a q=[i=1 t=[i=2 t=~]]] [p=%b q=[i=3 t=[i=4 t=~]]]}
42mold generator. A `++jug` is a `++map` of `++set`s.
47 ++ jug |*({a/$-(* *) b/$-(* *)} (map a (set b))) :: map of sets
53See also: `++ju`, `++by`, `++map`, `++set`
55 > =a (sa (limo [1 2 ~]))
58 > =b (sa (limo [3 4 ~]))
61 > =c (mo (limo [[%a a] [%b b] ~]))
63 {[p=%a q={1 2}] [p=%b q={4 3}]}
66 > (~(put ju c) [%b 5])
67 {[p=%a q={1 2}] [p=%b q={5 4 3}]}
75mold generator. A `++map` is a treap of
82 ++ map |* {a/$-(* *) b/$-(* *)} :: associative tree
83 $@($~ {n/{p/a q/b} l/(map a b) r/(map a b)}) ::
94 > (molt `(list (pair * *))`[[a+1 b+2] ~])
103mold generator. An ordered [treap](http://en.wikipedia.org/wiki/Treap) of
109 ++ qeu |* a/$-(* *) :: queue
110 $@($~ {n/a l/(qeu a) r/(qeu a)}) ::
117 <1.qyo [* <1.sxx [a=<1.ebd [* <101.jzo 1.ypj %164>]> <101.jzo 1.ypj %164>]>]>
118 > (~(gas to *(qeu time)) [~2014.1.1 ~2014.1.2 ~])
119 {~2014.1.2 ~2014.1.1}
128mold generator. A `++set` is a treap with unique values.
133 ++ set |* a/$-(* *) :: set
134 $@($~ {n/a l/(set a) r/(set a)}) ::
144 > (~(put in (sa "abc")) %d)
146 > (~(put in (sa "abc")) %a)
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