> +-- | The 'justIf' function is a shortcut for the idiom > +-- @if a then Just v else v@, which can be written as @v `justIf` a at . Just wanted to point out that there's a typo in the comment: surely you mean @if a then Just v else Nothing at . -Brent