Small refactoring in kind generalisation of type declarations
Small refactoring in kind generalisation of type declarations

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