urbit/pkg/garden/mar/treaties.hoon
2021-09-17 14:51:19 +10:00

21 lines
336 B
Plaintext

/+ treaty
|_ treaties=(list treaty:treaty)
++ grow
|%
++ noun treaties
++ json
^- ^json
%- pairs:enjs:format
%+ turn treaties
|= t=treaty:treaty
:- (crip "{(scow %p ship.t)}/{(trip desk.t)}")
(treaty:enjs:treaty t)
--
++ grab
|%
++ noun (list treaty:treaty)
--
++ grad %noun
--