Tiny refactor
authorSimon Peyton Jones <simonpj@microsoft.com>
Tue, 1 Nov 2016 14:03:57 +0000 (14:03 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Wed, 2 Nov 2016 11:54:55 +0000 (11:54 +0000)
commit79fb6e663908041eebc5a88987f67dd875326d94
treea0dd6932ac454fa52be2dad86bc0ab7bbffbdb03
parent19ce8a53e8074a7e56fd462e43750386e67edcd4
Tiny refactor

Swap order of calls in genInst just to make
the two cases the same

Plus some alpha-renaming
compiler/typecheck/TcDeriv.hs
compiler/typecheck/TcGenDeriv.hs