Proposal: Add (<$>) to Prelude as part of the AMP in GHC 7.10-RC3
Bardur Arantsson
spam at scientician.net
Tue Feb 24 16:37:10 UTC 2015
On 24-02-2015 16:39, Edward Kmett wrote:
> We have a couple of weeks until the third release candidate for GHC 7.10
> goes out the door.
>
> Along the way with the last couple of release candidates folks have found
> some problems with the way we implemented the AMP. [1][2]
>
> Most notably, we failed to include (<$>) in the Prelude, so the standard
> idiom of
>
> foo <$> bar <*> baz <*> quux
>
> doesn't work out of the box!
>
> I'd like to include (<$>) in the Prelude in RC3.
>
+1 on (<$>)
0 on (<$)
... but I must say that I've never actually seen the later in any code
I've inspected. (But then I'm usually not looking at that much
high-level applicative code, code, so...)
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>
More information about the Libraries
mailing list