: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
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