mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-22 06:11:31 +03:00
naive: add gas to ju
This commit is contained in:
parent
1e7e2e1193
commit
e05234c179
@ -759,5 +759,14 @@
|
||||
^+ a
|
||||
=+ d=(get b)
|
||||
(~(put by a) b (~(put in d) c))
|
||||
:: TODO: remove in favour of only using put?
|
||||
::
|
||||
++ gas
|
||||
|* b=(list [p=* q=*])
|
||||
=> .(b `(list _?>(?=([[* ^] ^] a) [p=p q=n.q]:n.a))`b)
|
||||
|- ^+ a
|
||||
?~ b
|
||||
a
|
||||
$(b t.b, a (put p.i.b q.i.b))
|
||||
--
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user