Naked generators form the basis of a lot of applications. This is explained in more depth here: Naked generators
:: this is in example.hoon
:- %say
|= *
:- %noun
(add 40 2)
using %say
you can create a naked generator. This is callable without a value.
> +example
42