on 5e6a67f help sign in
40 lines 649 B history raw
1### `++skip`
3Except
5Cycles through the members of `++list` `a`, passing them to a gate `b`.
6Produces a list of all of the members that produce `%.n`. Inverse of
7`++skim`.
9Accepts
10-------
12`b` is a gate that accepts one argument and produces a loobean.
14Produces
15--------
17A list of the same type as `a`.
19Source
20------
22 ++ skip :: except
23 ~/ %skip
24 |* {a/(list) b/$-(* ?)}
25 |-
26 ^+ a
27 ?~ a ~
28 ?:((b i.a) $(a t.a) [i.a $(a t.a)])
31Examples
32--------
34 ~zod/try=> =a |=(a/@ (gth a 1))
35 ~zod/try=> (skip (limo [0 1 2 3 ~]) a)
36 [i=0 t=[i=1 t=~]]
40***