Proposal: Add (<$>) to Prelude as part of the AMP in GHC 7.10-RC3

Henning Thielemann lemming at
Fri Feb 27 17:22:58 UTC 2015

On Thu, 26 Feb 2015, Edward Kmett wrote:

> both f (x,y) = pure (,) <*> x <*> y

I find this variant more natural, because every operand is preceded by a 
(<*>). This way it is easier to reorder arguments in an editor. It is 
related to the common separator vs. terminator debate.

More information about the Libraries mailing list