mirror of
https://github.com/urbit/shrub.git
synced 2024-12-12 10:29:01 +03:00
Fixed ++reap product type
This commit is contained in:
parent
38feec07ec
commit
ccd3c7e07e
@ -702,10 +702,9 @@
|
|||||||
::
|
::
|
||||||
++ reap :: replicate
|
++ reap :: replicate
|
||||||
|* [a=@ b=*]
|
|* [a=@ b=*]
|
||||||
=| c=(list)
|
|- ^- (list ,_b)
|
||||||
|- ^- (list)
|
?~ a ~
|
||||||
?: =(a 0) c
|
[b $(a (dec a))]
|
||||||
$(c [b c], a (dec a))
|
|
||||||
::
|
::
|
||||||
++ reel :: right fold
|
++ reel :: right fold
|
||||||
~/ %reel
|
~/ %reel
|
||||||
|
Loading…
Reference in New Issue
Block a user