mirror of
https://github.com/urbit/shrub.git
synced 2024-12-12 10:29:01 +03:00
Add ++murn.
Maybe turn
This commit is contained in:
parent
373ad8b2eb
commit
38ce666012
@ -698,6 +698,15 @@
|
||||
?: (b i.a) &
|
||||
$(a t.a)
|
||||
::
|
||||
++ murn :: maybe transform
|
||||
|* [a=(list) b=$+(* (unit))]
|
||||
%+ reel a
|
||||
|* [c=* acc=(list)]
|
||||
=+ i=(b c)
|
||||
?~ i
|
||||
acc
|
||||
[i=u.i t=acc]
|
||||
::
|
||||
++ reel :: right fold
|
||||
~/ %reel
|
||||
|* [a=(list) b=_|=([* *] +<+)]
|
||||
|
Loading…
Reference in New Issue
Block a user