[project @ 2001-05-03 12:33:50 by simonpj]
authorsimonpj <unknown>
Thu, 3 May 2001 12:33:50 +0000 (12:33 +0000)
committersimonpj <unknown>
Thu, 3 May 2001 12:33:50 +0000 (12:33 +0000)
commitbbc670f4ac4428a3a13ab34c2843381a82698ff4
tree5ed857a34bfe6dc478acec9ca1d3982f4de784fc
parent1b56645432591432812fc53031ef9d8e402753d1
[project @ 2001-05-03 12:33:50 by simonpj]
**** MERGE WITH 5.00 BRANCH     ********

--------------------------------
Monomorphism restriction for implicit parameters
--------------------------------

This commit tidies up the way in which monomorphic bindings
are dealt with, incidentally fixing a bug to do with implicit
parameters.

The tradeoffs concerning monomorphism and implicit paramters are
now documented in TcSimplify.lhs, and all the strategic choices
are made there (rather than in TcBinds where they were before).

I've continued with choice (B) -- which Jeff first implemented --
because that's what Hugs does, lacking any other consensus.
ghc/compiler/typecheck/TcBinds.lhs
ghc/compiler/typecheck/TcSimplify.lhs