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