Skip to content

Conversation

@ana-pantilie
Copy link
Contributor


Reviewer checklist
  • Test coverage: stack test --coverage
  • Public API documentation: stack haddock

@ana-pantilie ana-pantilie marked this pull request as ready for review April 28, 2020 14:01
@ana-pantilie ana-pantilie requested a review from ttuegel April 28, 2020 14:01
{-# INLINE logWhile #-}

deriving instance MonadSimplify m => MonadSimplify (UnifierWithExplanation m)
instance MonadSimplify m => MonadSimplify (UnifierWithExplanation m) where
Copy link
Contributor

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?

Copy link
Contributor Author

@ana-pantilie ana-pantilie Apr 28, 2020

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.

@ana-pantilie ana-pantilie merged commit 2ae2106 into runtimeverification:master Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants