This repository was archived by the owner on Jun 11, 2026. It is now read-only.
Implement and add conformance tests for bool/integer/list/pair/unit casing#22
Closed
jonathanlim222 wants to merge 6 commits into
Closed
Implement and add conformance tests for bool/integer/list/pair/unit casing#22jonathanlim222 wants to merge 6 commits into
jonathanlim222 wants to merge 6 commits into
Conversation
Signed-off-by: Jonathan Lim <jonathan.lim.222@gmail.com>
Signed-off-by: Jonathan Lim <jonathan.lim.222@gmail.com>
Signed-off-by: Jonathan Lim <jonathan.lim.222@gmail.com>
MicroProofs
reviewed
Sep 25, 2025
| } | ||
| _ => Err(MachineError::ExplicitErrorTerm), | ||
| }, | ||
| v => Err(MachineError::NonConstrScrutinized(v)), |
Contributor
There was a problem hiding this comment.
Has this error changed in the haskell version?
Contributor
Author
There was a problem hiding this comment.
The NonConstrScrutinized has not changed.
Contributor
Author
There was a problem hiding this comment.
I've updated some of the errors to be more in line with the Haskell implementation.
Signed-off-by: Jonathan Lim <jonathan.lim.222@gmail.com>
Signed-off-by: Jonathan Lim <jonathan.lim.222@gmail.com>
Contributor
Author
|
Not really sure why the Clippy and Format checks are failing now, it worked before. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements and adds conformance tests for bool/integer/list/pair/unit casing.
Additional case behavior information:
References:
[Builtins] Allow casing on booleans and integers
[Builtins] Add constant casing for builtin unit and pair
[Builtins] Allow casing on lists