cvs commit: fptools/ghc/compiler/prelude PrelNames.lhs
Simon Peyton Jones
simonpj at haskell.org
Mon May 23 06:17:23 EDT 2005
simonpj 2005/05/23 03:17:23 PDT
Fix what "standard class" means
MERGE to STABLE
The Report's definition of defaulting (Section 4.3.4) defines a "standard class" to be
one defined by the Prelude or a standard library. GHC was omitting the "..or a standard
library" part; and it even omitted the Prelude classes Monad and Functor.
This commit fixes the bug by adding
Monad, MonadPlus, Functor
to the classes defined as "standard".
Revision Changes Path
1.98 +25 -6 fptools/ghc/compiler/prelude/PrelNames.lhs
More information about the Cvs-ghc