shrub/ren/collections.hoon

23 lines
545 B
Plaintext
Raw Normal View History

::
:::: /ren/collections/hoon
::
/? 309
2018-07-31 07:00:49 +03:00
/+ collections
::
:: 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
/; |= [a=config:collections b=(map knot item:collections) ~]
[a b]
2018-08-01 02:31:30 +03:00
/. /collections-config/
/_ /collections-item/
2018-07-31 07:00:49 +03:00
==
collection