shrub/pkg/arvo/gen/hood/rein.hoon
fang ddf3520648
hood: re-patch |rein
Essentially reimplements #5863 in the generator, instead of the library.
2022-07-06 20:18:45 +02:00

19 lines
413 B
Plaintext

/- hood
:- %say
|= $: [now=@da eny=@uvJ bec=beak]
$: =desk
arg=(list [? dude:gall])
==
liv=_&
==
:- %kiln-rein
:- desk
%+ roll arg
=/ =rein:hood
=< rein.arak
.^(vat:hood %gx /(scot %p p.bec)/hood/(scot %da now)/kiln/vat/[desk]/noun)
|: [*[on=? =dude:gall] rein=rein(liv liv)]
?: on
rein(add (~(put in add.rein) dude))
rein(sub (~(put in sub.rein) dude))