Re: newtype deriving clause ceases to work in HEAD

2006-12-01 Thread Mathieu Boespflug
:25 | To: glasgow-haskell-users@haskell.org | Subject: newtype deriving clause ceases to work in HEAD | | Hi, | | The following code compiles with GHC 6.4.2, but does not typecheck | with GHC HEAD pulled on Sunday. | | module CompilerMonad where | | import Control.Monad | import Control.Monad.Reader

newtype deriving clause ceases to work in HEAD

2006-11-28 Thread Mathieu Boespflug
Hi, The following code compiles with GHC 6.4.2, but does not typecheck with GHC HEAD pulled on Sunday. module CompilerMonad where import Control.Monad import Control.Monad.Reader import Control.Monad.Error newtype CompilerError = CE String deriving Error newtype CM r a = CM (ReaderT r