mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-21 15:38:59 +03:00
promote key and not just the value to current beak
This commit is contained in:
parent
28c4caedfd
commit
641c577c7b
@ -864,10 +864,13 @@
|
||||
|. ^+ b
|
||||
=/ cax (~(get by jav.b) (to-cache-key a))
|
||||
?~ cax b
|
||||
?< ?=($beam -.a)
|
||||
::
|
||||
::XX only for original beak in q.q.u.cax?
|
||||
=. dep.p.u.cax (move-to bek dep.p.u.cax)
|
||||
=. a ((move-to bek) a)
|
||||
=. dep.p.u.cax
|
||||
(sy (turn ~(tap in dep.p.u.cax) (move-to bek)))
|
||||
::
|
||||
?< ?=($beam -.a)
|
||||
:: ~& promo+a
|
||||
=. u.cax
|
||||
?- -.a
|
||||
@ -892,9 +895,7 @@
|
||||
==
|
||||
::
|
||||
++ move-to
|
||||
|= [bek=beak des=(set dent)] ^- (set dent)
|
||||
%- sy
|
||||
%+ turn ~(tap in des)
|
||||
|= bek=beak
|
||||
|= den=dent ^+ den
|
||||
=? den ?=(%boil -.den) den(-.bom bek)
|
||||
den(-.bem bek)
|
||||
|
Loading…
Reference in New Issue
Block a user