On Tue, Feb 17, 2009 at 03:36:34PM +0100, Wolfgang Jeltsch wrote:
> These declarations can even be found in some Haddock documentation. So at
> least GHC has an upper bound on tuple size although the Haskell Report states
> that there isn’t one.
Actually, the report says implementations need on
Am Dienstag, 17. Februar 2009 14:42 schrieb Peter Verswyvelen:
> Tuples in Haskell always have annoyed me a bit since each tuple of
> different dimension is hardcoded
You are not alone with this. Several people have complained about this in the
past.
> (I guess compilers enforce a maximum dimens
Look at the HList stuff by Oleg and others and you'll find the kind of
tuples you suggest.
2009/2/17 Peter Verswyvelen :
> Tuples in Haskell always have annoyed me a bit since each tuple of different
> dimension is hardcoded (I guess compilers enforce a maximum dimension on
> tuples?)
> Since a tu
Tuples in Haskell always have annoyed me a bit since each tuple of different
dimension is hardcoded (I guess compilers enforce a maximum dimension on
tuples?)
Since a tuple represents a fixed size data structure with different types at
each coordinate, it feels as it should be possible to have a co