[project @ 2003-07-24 12:19:56 by ralf] Major refactoring of Data/Generics. This also affects the compiler (because of deriving issues). This is an intermediate commit. The library is supposed to compile fine. But the deriving stuff for Data needs to be revised. The testsuite for Data/Generics will not pass. gread is broken at the moment. So it is strongly recommended not to cvs upd for a few hours or a day.
[project @ 2003-07-24 12:19:56 by ralf]
Major refactoring of Data/Generics.
This also affects the compiler (because of deriving issues).
This is an intermediate commit.
The library is supposed to compile fine.
But the deriving stuff for Data needs to be revised.
The testsuite for Data/Generics will not pass.
gread is broken at the moment.
So it is strongly recommended not to cvs upd for a few hours or a day.

Detailed description of changes:
- Split up Data/Dynamic into Data/Typeable and Data/Dynamic.
  (This makes clear what part is about TypeReps and cast vs.
   dynamics. The latter is not needed by Data/Generics.)
- Renamed Data/include/Dynamic.h -> Typeable.h to end confusion.
- Split up Data/Generics.hs in a set of modules.
- Revised class Data:
  - Got rid of gunfold but added fromConstr as more primtive one
  - Revised representations of constructors
  - Revised treatment of primitive types
- Revised type of gmapQ; preserved old gmapQ as gmapL
- Added a module Data/Types.hs for treatment of types as values.

This is going somewhere.

frantisekfarka/ghc-dsi,nomeata/ghc,elieux/ghc,AlexanderPankiv/ghc,vikraman/ghc,nushio3/ghc,oldmanmike/ghc,nushio3/ghc,tjakway/ghcjvm,wxwxwwxxx/ghc,TomMD/ghc,forked-upstream-packages-for-ghcjs/ghc,vikraman/ghc,olsner/ghc,forked-upstream-packages-for-ghcjs/ghc,sgillespie/ghc,holzensp/ghc,acowley/ghc,mettekou/ghc,gcampax/ghc,vTurbine/ghc,forked-upstream-packages-for-ghcjs/ghc,shlevy/ghc,urbanslug/ghc,da-x/ghc,fmthoma/ghc,christiaanb/ghc,snoyberg/ghc,lukexi/ghc,green-haskell/ghc,green-haskell/ghc,tibbe/ghc,vikraman/ghc,spacekitteh/smcghc,gridaphobe/ghc,da-x/ghc,acowley/ghc,mcschroeder/ghc,GaloisInc/halvm-ghc,sgillespie/ghc,vikraman/ghc,tibbe/ghc,vTurbine/ghc,mettekou/ghc,sgillespie/ghc,frantisekfarka/ghc-dsi,lukexi/ghc-7.8-arm64,forked-upstream-packages-for-ghcjs/ghc,da-x/ghc,mfine/ghc,nathyong/microghc-ghc,siddhanathan/ghc,nushio3/ghc,TomMD/ghc,forked-upstream-packages-for-ghcjs/ghc,holzensp/ghc,fmthoma/ghc,elieux/ghc,anton-dessiatov/ghc,da-x/ghc,ryantm/ghc,ml9951/ghc,mcschroeder/ghc,frantisekfarka/ghc-dsi,ghc-android/ghc,urbanslug/ghc,gcampax/ghc,gcampax/ghc,mcmaniac/ghc,GaloisInc/halvm-ghc,da-x/ghc,mcmaniac/ghc,mettekou/ghc,ezyang/ghc,TomMD/ghc,olsner/ghc,gcampax/ghc,mcschroeder/ghc,gridaphobe/ghc,nkaretnikov/ghc,fmthoma/ghc,hferreiro/replay,shlevy/ghc,ghc-android/ghc,tibbe/ghc,ghc-android/ghc,jstolarek/ghc,acowley/ghc,urbanslug/ghc,bitemyapp/ghc,ghc-android/ghc,nomeata/ghc,olsner/ghc,spacekitteh/smcghc,ekmett/ghc,elieux/ghc,ryantm/ghc,gcampax/ghc,jstolarek/ghc,elieux/ghc,lukexi/ghc,tjakway/ghcjvm,christiaanb/ghc,gcampax/ghc,ghc-android/ghc,snoyberg/ghc,nushio3/ghc,vTurbine/ghc,ml9951/ghc,mcschroeder/ghc,sgillespie/ghc,bitemyapp/ghc,oldmanmike/ghc,tibbe/ghc,mcmaniac/ghc,bitemyapp/ghc,ml9951/ghc,nkaretnikov/ghc,AlexanderPankiv/ghc,sdiehl/ghc,gcampax/ghc,mcschroeder/ghc,oldmanmike/ghc,mcmaniac/ghc,nathyong/microghc-ghc,olsner/ghc,lukexi/ghc-7.8-arm64,sdiehl/ghc,shlevy/ghc,ryantm/ghc,mettekou/ghc,anton-dessiatov/ghc,wxwxwwxxx/ghc,vikraman/ghc,ml9951/ghc,green-haskell/ghc,shlevy/ghc,AlexanderPankiv/ghc,acowley/ghc,spacekitteh/smcghc,ezyang/ghc,nomeata/ghc,GaloisInc/halvm-ghc,frantisekfarka/ghc-dsi,holzensp/ghc,hferreiro/replay,fmthoma/ghc,TomMD/ghc,nathyong/microghc-ghc,mfine/ghc,nkaretnikov/ghc,green-haskell/ghc,green-haskell/ghc,lukexi/ghc,GaloisInc/halvm-ghc,gridaphobe/ghc,wxwxwwxxx/ghc,mcmaniac/ghc,AlexanderPankiv/ghc,GaloisInc/halvm-ghc,snoyberg/ghc,wxwxwwxxx/ghc,fmthoma/ghc,oldmanmike/ghc,AlexanderPankiv/ghc,ezyang/ghc,ezyang/ghc,shlevy/ghc,ilyasergey/GHC-XAppFix,nushio3/ghc,acowley/ghc,spacekitteh/smcghc,hferreiro/replay,ekmett/ghc,nathyong/microghc-ghc,nkaretnikov/ghc,fmthoma/ghc,ml9951/ghc,ilyasergey/GHC-XAppFix,mettekou/ghc,snoyberg/ghc,anton-dessiatov/ghc,oldmanmike/ghc,oldmanmike/ghc,AlexanderPankiv/ghc,sgillespie/ghc,bitemyapp/ghc,nomeata/ghc,siddhanathan/ghc,sgillespie/ghc,vTurbine/ghc,urbanslug/ghc,nathyong/microghc-ghc,da-x/ghc,christiaanb/ghc,tjakway/ghcjvm,TomMD/ghc,sdiehl/ghc,christiaanb/ghc,mfine/ghc,mcschroeder/ghc,ilyasergey/GHC-XAppFix,snoyberg/ghc,siddhanathan/ghc,sdiehl/ghc,lukexi/ghc-7.8-arm64,nathyong/microghc-ghc,mfine/ghc,hferreiro/replay,nathyong/microghc-ghc,tjakway/ghcjvm,anton-dessiatov/ghc,vTurbine/ghc,TomMD/ghc,sdiehl/ghc,siddhanathan/ghc,wxwxwwxxx/ghc,nkaretnikov/ghc,forked-upstream-packages-for-ghcjs/ghc,tjakway/ghcjvm,anton-dessiatov/ghc,forked-upstream-packages-for-ghcjs/ghc,gridaphobe/ghc,anton-dessiatov/ghc,siddhanathan/ghc,vikraman/ghc,mettekou/ghc,nkaretnikov/ghc,TomMD/ghc,tjakway/ghcjvm,vTurbine/ghc,sdiehl/ghc,olsner/ghc,GaloisInc/halvm-ghc,mcschroeder/ghc,ryantm/ghc,holzensp/ghc,oldmanmike/ghc,christiaanb/ghc,urbanslug/ghc,nushio3/ghc,lukexi/ghc-7.8-arm64,ml9951/ghc,hferreiro/replay,gridaphobe/ghc,lukexi/ghc,jstolarek/ghc,urbanslug/ghc,gridaphobe/ghc,hferreiro/replay,nushio3/ghc,siddhanathan/ghc,acowley/ghc,holzensp/ghc,ml9951/ghc,mfine/ghc,mfine/ghc,mfine/ghc,nkaretnikov/ghc,da-x/ghc,ghc-android/ghc,christiaanb/ghc,elieux/ghc,nomeata/ghc,spacekitteh/smcghc,wxwxwwxxx/ghc,vTurbine/ghc,tibbe/ghc,ilyasergey/GHC-XAppFix,elieux/ghc,ezyang/ghc,olsner/ghc,bitemyapp/ghc,jstolarek/ghc,gridaphobe/ghc,ryantm/ghc,frantisekfarka/ghc-dsi,lukexi/ghc,AlexanderPankiv/ghc,ekmett/ghc,sdiehl/ghc,christiaanb/ghc,olsner/ghc,shlevy/ghc,snoyberg/ghc,elieux/ghc,urbanslug/ghc,wxwxwwxxx/ghc,sgillespie/ghc,ekmett/ghc,hferreiro/replay,ghc-android/ghc,vikraman/ghc,snoyberg/ghc,shlevy/ghc,fmthoma/ghc,ekmett/ghc,ml9951/ghc,anton-dessiatov/ghc,acowley/ghc,ezyang/ghc,mettekou/ghc,siddhanathan/ghc,lukexi/ghc-7.8-arm64,ezyang/ghc,GaloisInc/halvm-ghc,tjakway/ghcjvm,jstolarek/ghc