[Haskell-cafe] Is 'flip' really necessary?
aditya.siram at gmail.com
Mon Jul 26 17:53:03 EDT 2010
It seems confusing to alias a function without adding any functionality just
to make things slightly easier to read. Instead wouldn't it be better if
this idiom were documented on haskell.org?
On Mon, Jul 26, 2010 at 4:47 PM, Vo Minh Thu <noteed at gmail.com> wrote:
> 2010/7/26 Vo Minh Thu <noteed at gmail.com>:
> > 2010/7/26 Daniel Fischer <daniel.is.fischer at web.de>:
> >> On Monday 26 July 2010 23:25:27, Max Rabkin wrote:
> >>> It took me a fair while (I'm talking on the order of half a minute) to
> >>> figure out what that meant, but it's pretty cool.
> >> Yeah, really neat.
> >>> Maybe a different
> >>> name would be better? How about (??) or "it"?
> >>> > listeEtagTot = concatMap (listeEtagArm ?? cfgTypesTringle)
> >>> > listeEtagTot = concatMap (listeEtagArm `it` cfgTypesTringle)
> >>> > listeArmOrd
> >> I think (??) is far better.
> >> Additionally, it doesn't run into problems with ghci's magical `it'.
> > (__) is quite good :)
> Well, I meant `__`
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe