mirror of
https://github.com/urbit/shrub.git
synced 2024-12-03 05:43:18 +03:00
adds +-gaf:by (non-colliding gas)
This commit is contained in:
parent
ab73f364a2
commit
40a232e642
@ -2695,6 +2695,15 @@
|
|||||||
a
|
a
|
||||||
$(b t.b, a (put p.i.b q.i.b))
|
$(b t.b, a (put p.i.b q.i.b))
|
||||||
::
|
::
|
||||||
|
+- gaf :: concat, fail on dupe
|
||||||
|
~/ %gaf
|
||||||
|
|= b/(list _?>(?=(^ a) n.a))
|
||||||
|
|- ^+ a
|
||||||
|
?~ b
|
||||||
|
a
|
||||||
|
?< (has p.i.b)
|
||||||
|
$(b t.b, a (put p.i.b q.i.b))
|
||||||
|
::
|
||||||
+- get :: grab value by key
|
+- get :: grab value by key
|
||||||
~/ %get
|
~/ %get
|
||||||
|= b/*
|
|= b/*
|
||||||
|
Loading…
Reference in New Issue
Block a user