[Haskell-cafe] Is 'flip' really necessary?

aditya siram 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?

-deech

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)
> listeArmOrd
> >>> > 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 `__`
>
> Cheers,
> Thu
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100726/9206d859/attachment.html


More information about the Haskell-Cafe mailing list