on 492ae2f help sign in
41 lines 452 B history raw
1Reverse
3### `++flop`
5Produces the list `a` in reverse order.
7Accepts
8-------
10`a` is a list.
12Produces
13--------
15A list.
17Source
18------
20 ++ flop :: reverse
21 ~/ %flop
22 |* a/(list)
23 => .(a (homo a))
24 ^+ a
25 =+ b=`_a`~
26 |-
27 ?~ a b
28 $(a t.a, b [i.a b])
32Examples
33--------
35 ~zod/try=> =a (limo [1 2 3 ~])
36 ~zod/try=> (flop a)
37 ~[3 2 1]
41***