mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-19 22:48:03 +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=*]
|
|* [a=(list) b=*]
|
||||||
(weld a ^+(a [b]~))
|
(weld a ^+(a [b]~))
|
||||||
::
|
::
|
||||||
|
:: +lure: List pURE
|
||||||
|
++ lure
|
||||||
|
|* a=*
|
||||||
|
[i=a t=~]
|
||||||
|
::
|
||||||
++ fand :: all indices
|
++ fand :: all indices
|
||||||
~/ %fand
|
~/ %fand
|
||||||
|= [nedl=(list) hstk=(list)]
|
|= [nedl=(list) hstk=(list)]
|
||||||
|
Loading…
Reference in New Issue
Block a user