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@gmail.com> wrote:
2010/7/26 Vo Minh Thu <noteed@gmail.com>:
> 2010/7/26 Daniel Fischer <daniel.is.fischer@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@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe