urbit/mar/womb/stat-all.hoon

34 lines
604 B
Plaintext
Raw Normal View History

::
:::: /hoon/stat-all/womb/mar
::
/? 310
/+ womb
::
:::: ~fyr
::
|_ all/(map ship stat:womb)
::
++ grab :: convert from
|%
++ noun (map ship stat:womb) :: clam from %noun
--
++ grow
|%
++ json
%- jobe
%+ turn (~(tap by all))
|= {a/ship b/stat:womb} ^- {cord ^json}
:- (crip +:<a>)
(jobe live+[%s p.b] dist+(json-dist q.b) ~)
::
++ json-dist
|= a/dist:womb
%+ joba -.a
?- -.a
$free b+&
$owned s+p.a
$split json(all p.a)
==
--
--