A little tidying up in the flattener
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 9 Jan 2015 11:51:52 +0000 (11:51 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 9 Jan 2015 11:52:16 +0000 (11:52 +0000)
commit3d449110fd992dc8ccbeb21f4bf8e522a57c2e22
tree9fa97bda4bd341e03ddc91d30b828f8d4ded18c7
parentee4ced43437391a6532a74211c8cab5ed27f2230
A little tidying up in the flattener

Particularly, flatten_many was exported, but the caller was not doing
runFlatten.  Moreover it was always used at nominal role.

This patch makes the API clearer, and more robust
compiler/typecheck/TcCanonical.hs
compiler/typecheck/TcFlatten.hs
compiler/typecheck/TcInteract.hs
compiler/typecheck/TcRnTypes.hs