Fix Trac #3391: make generic to/from bindings only for newly-declared types
Fix Trac #3391: make generic to/from bindings only for newly-declared types

Before this patch we were bogusly making to/from bindings for all data types
in the TcGblEnv.  But that is wrong when we have multiple "chunks" of 
bindings in Template Haskell.  We should start from the declarations 
themselves.  Easy.


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