mirror of
https://github.com/urbit/shrub.git
synced 2024-12-12 10:29:01 +03:00
add +-gas:ju
This commit is contained in:
parent
a46173ce74
commit
2e30e2b5e6
@ -2051,6 +2051,14 @@
|
||||
(~(del by a) b)
|
||||
(~(put by a) b e)
|
||||
::
|
||||
+- gas :: concatenate
|
||||
|* b=(list ,[p=* q=*])
|
||||
=> .(b `(list ,_?>(?=([[* ^] ^] a) [p=p q=n.q]:n.a))`b)
|
||||
|- ^+ a
|
||||
?~ b
|
||||
a
|
||||
$(b t.b, a (put(+< a) p.i.b q.i.b))
|
||||
::
|
||||
+- get :: gets set by key
|
||||
|* b=*
|
||||
=+ c=(~(get by a) b)
|
||||
|
Loading…
Reference in New Issue
Block a user