mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 18:31:44 +03:00
kiln: simplify ++frond call in %kiln-jump mark
This commit is contained in:
parent
b2a3350afd
commit
00bc412619
@ -10,21 +10,12 @@
|
|||||||
++ json
|
++ json
|
||||||
=, enjs:format
|
=, enjs:format
|
||||||
|^ ^- ^json
|
|^ ^- ^json
|
||||||
|
%+ frond -.jum
|
||||||
?- -.jum
|
?- -.jum
|
||||||
%add
|
%add (pairs ['old' (en-dock old.jum)] ['new' (en-dock new.jum)] ~)
|
||||||
%+ frond 'add'
|
%yea (pairs ['old' (en-dock old.jum)] ['new' (en-dock new.jum)] ~)
|
||||||
(pairs ['old' (en-dock old.jum)] ['new' (en-dock new.jum)] ~)
|
%nay (pairs ['old' (en-dock old.jum)] ['new' (en-dock new.jum)] ~)
|
||||||
::
|
|
||||||
%yea
|
|
||||||
%+ frond 'yea'
|
|
||||||
(pairs ['old' (en-dock old.jum)] ['new' (en-dock new.jum)] ~)
|
|
||||||
::
|
|
||||||
%nay
|
|
||||||
%+ frond 'nay'
|
|
||||||
(pairs ['old' (en-dock old.jum)] ['new' (en-dock new.jum)] ~)
|
|
||||||
::
|
|
||||||
%all
|
%all
|
||||||
%+ frond 'all'
|
|
||||||
:- %a
|
:- %a
|
||||||
%+ turn ~(tap by all.jum)
|
%+ turn ~(tap by all.jum)
|
||||||
|= [old=dock new=dock]
|
|= [old=dock new=dock]
|
||||||
|
Loading…
Reference in New Issue
Block a user