Simplify API to tcMatchTys
authorSimon Peyton Jones <simonpj@microsoft.com>
Mon, 18 Jan 2016 10:34:48 +0000 (10:34 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Mon, 18 Jan 2016 10:44:33 +0000 (10:44 +0000)
commit5a62b6ac0c44319e1a0b56a4300359fd25d3d818
treec89f83f62dc766cc50a84a4f9ef42a622f9d2348
parenta7b751db766bd456ace4f76a861e5e8b927d8f17
Simplify API to tcMatchTys

Previously tcMatchTys took a set of "template type variables" to
bind.  But all the calls are top-level, and we always want to
bind all variables in the template.  So I simplified the API
by omitting that argument.

There should be no change in behaviour.

Feel free to merge to 8.0 if it helps in merging other patches
compiler/typecheck/FunDeps.hs
compiler/typecheck/TcErrors.hs
compiler/typecheck/TcSimplify.hs
compiler/typecheck/TcTyClsDecls.hs
compiler/typecheck/TcValidity.hs
compiler/types/FamInstEnv.hs
compiler/types/InstEnv.hs
compiler/types/Unify.hs