Skip to content

Tactics' agda-split can destroy matches #1426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
isovector opened this issue Feb 22, 2021 · 1 comment · Fixed by #1427
Closed

Tactics' agda-split can destroy matches #1426

isovector opened this issue Feb 22, 2021 · 1 comment · Fixed by #1427
Labels
component: wingman type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Comments

@isovector
Copy link
Collaborator

data ADT = One | Two Int | Three | Four Bool ADT | Five

case_split :: ADT -> Int
case_split One = _
case_split (Two i) = _
case_split Three = _
case_split (Four b a) = _  -- here
case_split Five = _

Splitting on either b or a at -- here deletes the entire case_split (Four b a) match.

@isovector isovector added component: wingman type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. labels Feb 22, 2021
@isovector
Copy link
Collaborator Author

:(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: wingman type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant