Data instances in ghc 6.2.1?
Ralf.Laemmel at cwi.nl
Wed Jun 23 21:34:41 EDT 2004
the tuple instances did not make it into GHC 6.2 because of CVS
GHC CVS HEAD compiles the example.
And yes, SPJ approved recently that Language.Haskell.Syntax should
derive Data and Typeable.
But, I can't access cvs.haskell.org.
Already for a while, it asks for my password, which I never got handed out.
Claus Reinke wrote:
>Shouldn't there be more instances of Data and friends?
>I thought that tuples beyond size 2 were mentioned
>here before ghc 6.2, but this silly example doesn't work
>because of missing Data instance (it does work with d
>instead of d3):
>-- file = "Tst.hs"
>d = (["hi","head"],("ho",(True,"head")))
>d3 = (["hi","head"],"ho",(True,"head"))
>main = print $ everywhere (id `extT` worker) d3
> worker "head" = "tail"
> worker s = s
>Since these instances claim to be derivable: shouldn't
>that be done for the stuff in Language.Haskell.Syntax?
>Glasgow-haskell-bugs mailing list
>Glasgow-haskell-bugs at haskell.org
More information about the Glasgow-haskell-bugs