-
Notifications
You must be signed in to change notification settings - Fork 44
Stop simplifying the left-hand side of equations #2392
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
Conversation
Monad.unless | ||
((isTop . predicate) simplifiedCond) |
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.
The problem is this: Before, we would return early if any of the simplifiedResults
(i.e. any branch) had a predicate which was not \top
. Now, we only return early on that branch. If you swap the order of Logic.observeAllT
and returnOriginalIfAborted
below (changing the order of nesting LogicT
and ExceptT
) then all will be well: the entire computation will exit early if any branch exits early.
10509b3
to
77b99da
Compare
I'm getting the following error:
|
Co-authored-by: Octavian Mircea Sebe <[email protected]>
Fixes #2341
Review checklist
The author performs the actions on the checklist. The reviewer evaluates the work and checks the boxes as they are completed.