mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-05 13:55:54 +03:00
more informative |mass for ford and gall
This commit is contained in:
parent
a2d2d54f13
commit
31e6e4cb80
@ -1850,7 +1850,28 @@
|
||||
:^ hen %give %mass
|
||||
:- %ford
|
||||
:- %|
|
||||
:~ lex/`lex
|
||||
%- |= 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))
|
||||
|= [@ baby]
|
||||
:~ =< cache/[%| (turn `(list term)`/hood/bake/lilt/slit/slim/slap/slam .)]
|
||||
=- |=(a=term [a `(~(get ja dep) a)])
|
||||
=< `dep=(jar term ,*)`(~(rep by jav) .)
|
||||
|=([[* a=[term *]] b=(jar term ,*)] (~(add ja b) a))
|
||||
::
|
||||
=< depends/[%| (turn `(list term)`/init/sent/done .)]
|
||||
=- |=(a=term [a `(~(get ja dep) a)])
|
||||
=< `dep=(jar term ,*)`(~(rep by deh) .)
|
||||
|=([[@ a=[term *]] b=(jar term ,*)] (~(add ja b) a))
|
||||
::
|
||||
tasks/`[dym tad]
|
||||
==
|
||||
=+ our=p.q.hic
|
||||
=+ ^= bay ^- baby
|
||||
|
@ -1177,7 +1177,20 @@
|
||||
:^ hen %give %mass
|
||||
:- %gall
|
||||
:- %|
|
||||
:~ all/`all
|
||||
%- |= 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]
|
||||
:~ foreign/`sap
|
||||
blocked/[%| (sort :_(aor (~(tap by (~(run by wub) |=(sofa `+<))))))]
|
||||
active/[%| (sort :_(aor (~(tap by (~(run by bum) |=(seat `+<))))))]
|
||||
==
|
||||
==
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user