-
Notifications
You must be signed in to change notification settings - Fork 45
Not simplifier dependency inversion #1772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not simplifier dependency inversion #1772
Conversation
This reverts commit b4bbbd1.
| {-# INLINE logWhile #-} | ||
|
|
||
| deriving instance MonadSimplify m => MonadSimplify (UnifierWithExplanation m) | ||
| instance MonadSimplify m => MonadSimplify (UnifierWithExplanation m) where |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why can't we use the default implementations anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When trying to derive the implementation, the compiler error is:
Couldn't match type ‘UnifierWithExplanation m’
with ‘UnifierT (AccumT (First ReplOutput) m)’
arising from a use of ‘ghc-prim-0.5.3:GHC.Prim.coerce’
Do you know how this could be fixed? I can post the entire error if needed.
Co-Authored-By: Thomas Tuegel <ttuegel@mailbox.org>
Reviewer checklist
stack test --coveragestack haddock