mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 08:34:25 +03:00
Apply tree diffs
This commit is contained in:
parent
c899e40277
commit
69ef62338b
@ -3861,6 +3861,7 @@
|
||||
?+ -.q.don ~|(%unsupported !!)
|
||||
%a q.p.q.don
|
||||
%c (lurk ((hard (list)) src) p.q.don)
|
||||
%d (lure src p.q.don)
|
||||
==
|
||||
::
|
||||
%c
|
||||
@ -3872,6 +3873,15 @@
|
||||
==
|
||||
==
|
||||
::
|
||||
++ lure :: apply tree diff
|
||||
|= [a=* b=upas]
|
||||
^- *
|
||||
?^ -.b
|
||||
[$(b -.b) $(b +.b)]
|
||||
?+ -.b ~|(%unsupported !!)
|
||||
%0 .*(a [0 p.b])
|
||||
%1 .*(a [1 p.b])
|
||||
==
|
||||
++ limp :: invert patch
|
||||
|= don=udon ^- udon
|
||||
:- p.don
|
||||
|
Loading…
Reference in New Issue
Block a user