Proposal: Add (&) to Data.Function

Henning Thielemann lemming at henning-thielemann.de
Tue Nov 20 21:14:41 CET 2012


On Tue, 20 Nov 2012, Yitzchak Gale wrote:

>  It is a common idiom to write a sequence of composed combinators in
>  reverse order to the way they would be written with ($) or (.). That
>  naturally expresses the idea of the combinators as operations being
>  applied in the given order.
> 
>  This comes up so often, and is commonly used so many times in a single
>  expression, that Control.Arrow.>>> is far too wordy, and even a two-
>  character operator is awkward.

Functional metapost called it (#). But for me (>>>) is ok. It is even more 
descriptive than (&).


More information about the Libraries mailing list