-
Notifications
You must be signed in to change notification settings - Fork 29
Fix math imports; drop Math #80
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix math imports; drop Math #80
Conversation
Bit of an interesting CI error here. |
Huh... Yeah it is. I'll look into it. |
The failing test is caused by Nate's changes in Changing this line (https://github.com/purescript-contrib/purescript-formatters/blob/main/src/Data/Formatter/Parser/Interval.purs#L32=) to the following makes the test pass again: - parseInterval duration date = [ startEnd, durationEnd, startDuration, durationOnly ] <#> PC.try #
+ parseInterval duration date = [ startEnd, durationEnd, startDuration, durationOnly ] <#> PC.try # foldl (<|>) empty Conceptually, the parse is the same. The difference is what the final parser is and how that affects the error message:
@natefaubion I believe you modified |
I think choice should still be right associative. The fact that choice required you to always step through a useless alternative is an odd requirement. |
K, I'll update the error message then. |
Can I get an approval? |
Sorry, I'm not saying that the current error behavior is OK, I'm just saying that I would like to preserve both. I'll need to think about it. |
This reverts commit 854056e.
Description of the change
Drops
math
; updates importsChecklist: