: [Haskell-cafe] The weirdest error I've ever seen...
|
| Actually, I just solved the problem... I think...
|
| In my original code, I had the newtype:
|
|
|newtype FilterState t = Filter t a = Filter (ContextMatch t a)
|deriving (Functor, Monad, MonadReader Email, MonadState Bool
| [1 of 3] Compiling Network.HackMail.Email.ParseEmail ( Network/
| HackMail/Email/ParseEmail.hs, interpreted )
| [2 of 3] Compiling Network.HackMail.Email.Email ( Network/HackMail/
| Email/Email.hs, interpreted )
| [3 of 3] Compiling Network.HackMail.Filter.Filter ( Network/HackMail/
|
Okay, so -- I feel totally awesome -- I never found a GHC bug
before... and a Haskell Celebrity responded to my post! *swoons* :)
Serious question now, There's a fair amount of definitely irrelevant
code (like the definition of the `Email` type, etc), should I post
that in the report too
Hi Joe,
Serious question now, There's a fair amount of definitely irrelevant code
(like the definition of the `Email` type, etc), should I post that in the
report too (assuming it doesn't work in 6.12 or I can't get 6.12 working to
try it)?
http://hackage.haskell.org/trac/ghc/wiki/ReportABug
Actually, I just solved the problem... I think...
In my original code, I had the newtype:
newtype FilterState t = Filter t a = Filter (ContextMatch t a)
deriving (Functor, Monad, MonadReader Email, MonadState Bool,
MonadIO)
I was trying to confirm that it actually was the `deriving