fix #634 gall |mass, kiln |mv

This commit is contained in:
Anton Dyudin 2015-12-07 14:19:14 -08:00
parent af81b18a36
commit 6c0d8ec6bf
2 changed files with 4 additions and 12 deletions

View File

@ -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 `+<))))))]

View File

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