Add pattern matching for character literals#322
Add pattern matching for character literals#322DeSevilla wants to merge 2 commits intogranule-project:mainfrom
Conversation
…haracter literal patterns in function definitions and case statements
|
I'm attempting to solve the failing CI/build, but when I run |
|
On second look, it seems like all 8 of the tests that failed in CI are the ones listed here as ongoing failures: #294 |
This happens between Z3 versions, if you use 4.15.4 it should match up. And yes, unfortunately there are 8 failing tests currently in the main branch! Consider it passing as long as that number doesn't increase. |
Can now define functions and case statements that pattern-match on character literals, e.g.
case c of '\n' -> 0. Adds a few tests for this functionality.