[GHC] #4159: move Monad and MonadFix instances for Either from mtl to base

GHC cvs-ghc at haskell.org
Tue Jun 29 05:25:23 EDT 2010


#4159: move Monad and MonadFix instances for Either from mtl to base
---------------------------------+------------------------------------------
    Reporter:  ross              |       Owner:                
        Type:  proposal          |      Status:  new           
    Priority:  normal            |   Component:  libraries/base
     Version:  6.12.3            |    Keywords:                
          Os:  Unknown/Multiple  |    Testcase:                
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown  
---------------------------------+------------------------------------------
 These patches move the Monad and MonadFix instances for Either (currently
 in the mtl package) to Control.Monad.Instances and Control.Monad.Fix
 respectively (both in the base package).  The Monad instance is still an
 orphan, to retain Haskell 98 compatibility, but the MonadFix instance is
 together with its class.  The Error constraint is removed from both
 instances, and the default definition of fail is used.

 Discussion deadline: 20th July 2010

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4159>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list