
Hello,
I have attached a new version that should work with GHC 6.10, though I have
not tested it.
The older Data.Data uses mkNorepType instead of mkNoRepType. I just changed
the patch to use the older spelling. In GHC >= 6.12 this will issue a
warning that the old spelling has been deprecated. This seems like a
reasonable fix as long as text drops support for GHC 6.10 before mkNorepType
is completely removed from Data.Data (which may never happen?):
Here is the bug:
http://hackage.haskell.org/trac/ghc/ticket/2760
Also, this patch still won't work with GHC < 6.10, is that ok?
I also noticed in the containers package, there are #ifdefs around the Data
instances:
#if __GLASGOW_HASKELL__
...
#endif
Should I add that as well? Or is text only supported under GHC anyway?
- jeremy
On Tue, Feb 2, 2010 at 12:03 AM, Bryan O'Sullivan
On Mon, Feb 1, 2010 at 12:08 PM, Jeremy Shaw
wrote: Attached.
Data/Text.hs:175:63: Module `Data.Data' does not export `mkNoRepType'
Can you send a followup patch that works against GHC 6.10.4, please?