[Haskell-cafe] Re: howto tuple fold to do n-ary cross product?
ganesh at earth.li
Sun Nov 30 12:55:42 EST 2008
On Sun, 30 Nov 2008, Brandon S. Allbery KF8NH wrote:
> On 2008 Nov 30, at 12:43, Max Rabkin wrote:
>> It seems to me like this would all be easy if (a,b,c,d) was sugar for
>> (a,(b,(c,d))), and I can't see a disadvantage to that.
> No disadvantage aside from it making tuples indistinguishable from lists.
No, they'd still have statically known length and be heterogenous, it
would just change some strictness properties.
More information about the Haskell-Cafe