guard -package:incipit-base package:hxt

g `guards` f : when the predicate g holds, f is applied, else none
like whenP