Add separators

This commit is contained in:
Risto Saarelma 2015-12-05 15:31:45 +02:00
parent e293b6dac2
commit 6e4dc46fcf

View File

@ -306,6 +306,8 @@ Produces the list `a` in reverse order.
~zod/try=> (flop a)
~[3 2 1]
------------------------------------------------------------------------
### `++homo`
Homogenize
@ -332,6 +334,8 @@ list `a`.
~zod/try=> (homo a)
~[1 2 3]
------------------------------------------------------------------------
### `++limo`
List Constructor
@ -350,6 +354,8 @@ Turns a null-terminated tuple into a list.
~zod/try=> (limo [1 2 3 ~])
[i=1 t=[i=2 t=[i=3 t=~]]]
------------------------------------------------------------------------
### `++lent`
List length
@ -454,6 +460,8 @@ Produces a new list with all the results that do not produce `~`.
~zod/try=> (murn (limo [0 1 2 3 ~]) a)
[i=12 t=[i=13 t=~]]
------------------------------------------------------------------------
### `++reap`
Replicate
@ -895,3 +903,5 @@ Accepts a [list]() of lists.
~['a' 'b' 'c' 'e' 'f' 'g' 'h' 'i' 'j']
~zod/try=> (zing (limo [(limo [1 'a' 2 'b' ~]) (limo [3 'c' 4 'd' ~]) ~]))
~[1 97 2 98 3 99 4 100]
------------------------------------------------------------------------