shrub/mar/tree/index.hoon

24 lines
572 B
Plaintext
Raw Normal View History

2015-08-12 00:31:16 +03:00
::
2016-02-05 06:05:37 +03:00
:::: /hoon/index/tree/mar
2015-08-12 00:31:16 +03:00
::
/? 314
/+ tree,react
2015-09-02 03:24:18 +03:00
[. tree react]
2015-08-12 00:31:16 +03:00
!:
::::
2015-09-02 03:24:18 +03:00
::
2015-08-12 00:31:16 +03:00
|_ all=(map path marl)
::
++ grow :: convert to
|%
++ json
%. all
%+ map-to-json
|=(a=path (crip (spud a)))
|=(a=marl [%a (turn a react-to-json)])
--
++ grab |% :: convert from
++ noun (map path marl) :: clam from %noun
::++ elem |=(a=manx `_all`[[/ ((getall %h1) a)] ~ ~])
-- --