Skip to content

fix gread failing on negative numbers#54

Merged
sergv merged 1 commit into
dreixel:masterfrom
patritzenfeld:master
Aug 21, 2025
Merged

fix gread failing on negative numbers#54
sergv merged 1 commit into
dreixel:masterfrom
patritzenfeld:master

Conversation

@patritzenfeld

Copy link
Copy Markdown
Contributor

Adresses Issue #13.

There simply was no parser alternative for literals containing prefix operators in gread. This caused the "constructor" to be parsed as only "-" without the actual digits.

As far as I'm aware, minus is the only prefix operator in Haskell, so I directly match it in the new alternative.

@sergv sergv merged commit 675194b into dreixel:master Aug 21, 2025
14 checks passed
@sergv

sergv commented Aug 21, 2025

Copy link
Copy Markdown
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants