Sow can be used anywhere in a computation:
It still works inside a function:
A single expression can be "sown" with multiple tags:
If a single tag is repeated, the expression is sown repeatedly:
A pattern in
Reap can be used to specify which tags to collect:
The default is the pattern
_, so that everything is collected:
Tags can have any form; here they are
True and
False: