mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 11:40:11 +03:00
Merge pull request #6117 from urbit/lf/lure
hoon: add +lure, for turning a singleton into a list
This commit is contained in:
commit
d9e5ebe806
@ -468,6 +468,11 @@
|
||||
|* [a=(list) b=*]
|
||||
(weld a ^+(a [b]~))
|
||||
::
|
||||
:: +lure: List pURE
|
||||
++ lure
|
||||
|* a=*
|
||||
[i=a t=~]
|
||||
::
|
||||
++ fand :: all indices
|
||||
~/ %fand
|
||||
|= [nedl=(list) hstk=(list)]
|
||||
|
Loading…
Reference in New Issue
Block a user