Flipped function application

Wvv vitea3v
Thu Oct 10 17:12:28 UTC 2013


Is it hard to read?

xs # map $ (+ 3) . snd 

Or do you prefer next?

map ((+3).snd) xs


Johan Tibell-2 wrote
> I'm against this proposal. If we think normal function composition (with
> the order of the functions "reversed"), is harder to read, then having
> both
> flipped and normal functions application is even worse, as you now have to
> both and switch your mindset every time you come across code that does the
> opposite of the code you just read.
> 
> _______________________________________________
> Libraries mailing list

> Libraries@

> http://www.haskell.org/mailman/listinfo/libraries





--
View this message in context: http://haskell.1045720.n5.nabble.com/Flipped-function-application-tp5738131p5738205.html
Sent from the Haskell - Libraries mailing list archive at Nabble.com.




More information about the Libraries mailing list