urbit/mar/womb/stat-all.hoon

35 lines
650 B
Plaintext
Raw Normal View History

::
:::: /hoon/stat-all/womb/mar
::
/? 310
2017-11-30 00:28:33 +03:00
/+ hood-womb, old-zuse
::
:::: ~fyr
::
2017-02-14 03:02:25 +03:00
=, old-zuse
2017-11-30 00:28:33 +03:00
|_ all/(map ship stat:hood-womb)
::
++ grab :: convert from
|%
2017-11-30 00:28:33 +03:00
++ noun (map ship stat:hood-womb) :: clam from %noun
--
++ grow
|%
++ json
%- jobe
%+ turn ~(tap by all)
2017-11-30 00:28:33 +03:00
|= {a/ship b/stat:hood-womb} ^- {cord ^json}
:- (crip +:<a>)
(jobe live+[%s p.b] dist+(json-dist q.b) ~)
::
++ json-dist
2017-11-30 00:28:33 +03:00
|= a/dist:hood-womb
%+ joba -.a
?- -.a
$free b+&
$owned s+p.a
$split json(all p.a)
==
--
--