Simplify defaultKindVar and friends
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 21 Apr 2016 13:52:16 +0000 (14:52 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 22 Apr 2016 10:32:40 +0000 (11:32 +0100)
commit970ff585489285f527a098983538cd48f93ab245
tree64c3bdea0411523866aa57172a47c52ebffc00c5
parentc2b7a3d9f6ad946a2cb2773e96a377cc2216cb5b
Simplify defaultKindVar and friends

I found zonkQuantifiedTyVar rather complicated, especially the two
places where we defaulted RuntimeRep variables. This simplifies and
modularises the story.

Refactoring only.
compiler/typecheck/TcHsSyn.hs
compiler/typecheck/TcMType.hs
compiler/typecheck/TcPatSyn.hs