shrub/ren/collections.hoon

23 lines
538 B
Plaintext
Raw Normal View History

::
:::: /ren/collections/hoon
::
/? 309
2018-07-31 07:00:49 +03:00
/+ collections
::
2019-01-18 08:37:34 +03:00
:: collections:
::
:: get collection-config file at rendered path,
:: and all collections-item files the subpath.
:: outputs a +collection defined in /lib/collections/hoon
::
:: recursive renderer, see its counterpart in /ren/collections/item/hoon
::
2018-07-31 07:00:49 +03:00
/= collection
/^ collection:collections
2019-01-18 08:37:34 +03:00
/; |= [a=config:collections b=(map knot item:collections) ~]
2018-07-31 07:00:49 +03:00
[a b]
2018-08-01 02:31:30 +03:00
/. /collections-config/
/_ /collections-item/
2018-07-31 07:00:49 +03:00
==
collection