mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-03 02:35:52 +03:00
fix #634 gall |mass, kiln |mv
This commit is contained in:
parent
af81b18a36
commit
6c0d8ec6bf
@ -1218,17 +1218,9 @@
|
||||
:^ hen %give %mass
|
||||
:- %gall
|
||||
:- %|
|
||||
%- |= a=(list (list mass)) ^- (list mass) :: XX single-home
|
||||
=+ a2=a
|
||||
?~ a !!
|
||||
?~ i.a ~
|
||||
:_ $(a (turn a2 tail))
|
||||
:- p.i.i.a
|
||||
?~ -.q.i.i.a
|
||||
[%& (turn (turn a2 head) |=(b=mass ?~(-.q.b p.q.b !!)))]
|
||||
[%| $(a (turn (turn a2 head) |=(b=mass ?~(-.q.b !! p.q.b))))]
|
||||
%+ turn (~(tap by pol.all))
|
||||
|= [@ mast]
|
||||
%+ turn (~(tap by pol.all)) :: XX single-home
|
||||
|= [our=@ mast] ^- mass
|
||||
:+ (scot %p our) %|
|
||||
:~ foreign/`sap
|
||||
blocked/[%| (sort :_(aor (~(tap by (~(run by wub) |=(sofa `+<))))))]
|
||||
active/[%| (sort :_(aor (~(tap by (~(run by bum) |=(seat `+<))))))]
|
||||
|
@ -142,7 +142,7 @@
|
||||
|= [input=path output=path]
|
||||
%+ do-info "moved"
|
||||
?> =(-:(flop input) -:(flop output))
|
||||
%+ furl (fray output)
|
||||
%+ furl (fray input)
|
||||
(foal output -:(flop input) %noun .^(%cx input))
|
||||
::
|
||||
++ poke-label
|
||||
|
Loading…
Reference in New Issue
Block a user