on 5e6a67f help sign in
35 lines 444 B history raw
1### `++limo`
3List Constructor
5Turns a null-terminated tuple into a [`++list`]().
7Accepts
8-------
10`a` is a null-terminated tuple.
12Produces
13--------
15A `++list`.
17Source
18------
20 ++ limo :: listify
21 |* a=*
22 ^+ =< $
23 |% +- $ ?~(a ~ ?:(_? i=-.a t=$ $(a +.a)))
24 --
25 a
27Examples
28--------
30 ~zod/try=> (limo [1 2 3 ~])
31 [i=1 t=[i=2 t=[i=3 t=~]]]
35***