5Produces a cell whose tail `q` is atom `a` with a bit representation of
6its length prepended to it (as the least significant bits). The head `p`
7is the length of `q` in bits.
17A cell of two atoms, `p` and `q`.
22 ++ mat :: length-encode
31 (cat 0 (bex c) (mix (end 0 (dec c) b) (lsh 0 (dec c) a)))
38 ~zod/try=> (mat 0xaaa)
40 ~zod/try=> (met 0 q:(mat 0xaaa))
42 ~zod/try=> `@ub`q:(mat 0xaaa)
43 0b1010.1010.1010.1001.0000
44 ~zod/try=> =a =-(~&(- -) `@ub`0xaaa)
46 ~zod/try=> =b =-(~&(- -) `@ub`(xeb a))
48 ~zod/try=> =b =-(~&(- -) `@ub`(met 0 a))
50 ~zod/try=> =c =-(~&(- -) (xeb b))
52 ~zod/try=> [`@ub`a `@ub`(end 0 (dec c) b) `@ub`(bex c)]
53 [0b1010.1010.1010 0b100 0b1.0000]
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