Small refactoring in Coercion
authorSimon Peyton Jones <simonpj@microsoft.com>
Tue, 2 Jan 2018 17:11:55 +0000 (17:11 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Wed, 3 Jan 2018 11:26:20 +0000 (11:26 +0000)
commit3bf910d0ff7f82b4c316dcc08c143dbb65362366
tree526dd7cbf8798a083aede852d85dc3ce9637f3d6
parent1e12783b658043dfa836ad6003da0e283faa7716
Small refactoring in Coercion

* Kill unused mkHomoPhantomCo
* Refactor downgradeRole_maybe to be more perspicuous
* Don't export toPhantomCo (not used externally)
compiler/types/Coercion.hs