Skip to content

feat(puddle): validate matcher declaration order - #1469

Open
math-fehr wants to merge 1 commit into
math-fehr/puddle-guard-matcherfrom
math-fehr/ordered-puddle-decls
Open

math-fehr wants to merge 1 commit into
math-fehr/puddle-guard-matcherfrom
math-fehr/ordered-puddle-decls

Conversation

@math-fehr

Copy link
Copy Markdown
Collaborator

Check that the order of declaration of a puddle match is introducing values before their uses. While this is more constrained that what is currently implemented, in practice all programs written with Puddle should satisfy this invariant. Having this invariant will allow us to have a better correctness condition for the semantics of a puddle pattern.

Check that the order of declaration of a puddle match is introducing values before their uses. While this is more constrained that what is currently implemented, in practice all programs written with Puddle should satisfy this invariant. Having this invariant will allow us to have a better correctness condition for the semantics of a puddle pattern.
@math-fehr math-fehr self-assigned this Sep 15, 2026
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