:: a -> (a -> b) -> b -package:lens-family-core -package:hmatrix -package:ghc-lib-parser package:diagrams-lib
& is a reverse application operator. This provides
notational convenience. Its precedence is one higher than that of the
forward application operator
$, which allows
& to be
nested in
$.
>>> 5 & (+1) & show
"6"
Postfix function application, for conveniently applying attributes.
Unlike ($), (#) has a high precedence (8), so d
# foo # bar can be combined with other things using operators
like (|||) or (<>) without needing
parentheses.