Skip to content

Fix for issue #142#168

Merged
jespercockx merged 3 commits intomasterfrom
issue142
Apr 6, 2023
Merged

Fix for issue #142#168
jespercockx merged 3 commits intomasterfrom
issue142

Conversation

@jespercockx
Copy link
Member

This fixes #142 by enforcing that there are no dot patterns in the functions we compile to Haskell, even in implicit (type) arguments. To make this work, I also had to add a check that type parameters that appear in the Haskell code are not marked with @0 (which was already the case for datatypes, but not yet for functions).

@jespercockx jespercockx added this to the 1.0 milestone Apr 6, 2023
@jespercockx jespercockx requested review from flupe and omelkonian April 6, 2023 10:04
Copy link
Contributor

@flupe flupe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a really neat solution!

@jespercockx jespercockx merged commit 46976c9 into master Apr 6, 2023
@jespercockx jespercockx deleted the issue142 branch July 17, 2023 15:50
@zeroeightysix zeroeightysix mentioned this pull request Oct 14, 2025
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.

Disable pattern-matching on erased argument

2 participants