|
Data instances in ghc 6.2.1?: msg#00042lang.haskell.glasgow.bugs
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): import Data.Generics -- file = "Tst.hs" d = (["hi","head"],("ho",(True,"head"))) d3 = (["hi","head"],"ho",(True,"head")) main = print $ everywhere (id `extT` worker) d3 where 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? cheers, claus
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-978543 ] "-M" option broken with "-hisuf prof.hi", SourceForge.net |
|---|---|
| Next by Date: | Re: Data instances in ghc 6.2.1?, Ralf Laemmel |
| Previous by Thread: | [ ghc-Bugs-978543 ] "-M" option broken with "-hisuf prof.hi", SourceForge.net |
| Next by Thread: | Re: Data instances in ghc 6.2.1?, Ralf Laemmel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |