1
1
mirror of https://github.com/urbit/shrub.git synced 2024-12-25 04:52:06 +03:00
shrub/pkg/arvo/gen/sponsor.hoon
ronreg-ribdev 4a4e220e11 gen: add +sponsor generator
Add a new generator +sponsor that encapsulates the logic of invoking
`(sein:title our now our)` to get the sponsor of the current ship.
2020-11-24 14:13:38 -08:00

6 lines
113 B
Plaintext

:: Print the sponsor of this ship
:- %say
|= [[now=time @ our=ship ^] * ~]
:- %ship
(sein:title our now our)