naive: add gas to ju

This commit is contained in:
yosoyubik 2021-06-24 16:41:44 +02:00
parent 1e7e2e1193
commit e05234c179

View File

@ -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))
--
--