Skip to content

Conversation

@ttuegel
Copy link
Contributor

@ttuegel ttuegel commented Jul 13, 2020

Fixes #1896


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

@ttuegel ttuegel changed the title Begin to plug the gaps in the \ceil simplifier Begin to plug the profiling gaps in the \ceil simplifier Jul 13, 2020
@ttuegel ttuegel marked this pull request as ready for review July 14, 2020 13:57
@ttuegel ttuegel requested a review from ana-pantilie July 15, 2020 14:09
import {-# SOURCE #-} qualified Kore.Step.Simplification.Ceil as Ceil
( makeEvaluate
, makeEvaluateTerm
( makeEvaluateTerm
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this still needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not either, and if I also remove the import from Kore.Builtin.Builtin, then we can remove the .hs-boot file for Ceil! 🎉

(ReaderT (SideCondition variable) simplifier)
(TermLike variable)
(OrCondition variable)
ceilSimplifierTermLike =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is this used, or where/why will this be needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not, thanks for spotting that!

Copy link
Contributor

@ana-pantilie ana-pantilie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I couldn't find anything else to refactor, except removing some outdated comments. If you think there is anything else that could use some refactoring please let me know.

@ttuegel
Copy link
Contributor Author

ttuegel commented Jul 18, 2020

I couldn't find anything else to refactor, except removing some outdated comments.

That sounds great! "Cleanup" might be better than "refactor" anyway. I think cleanup can include refactoring.

@rv-jenkins rv-jenkins merged commit e191fb2 into runtimeverification:master Jul 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Profile \ceil simplifier in eventlog

3 participants