Skip to content
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

Case-split on bind patterns #10

Open
imkiva opened this issue Jul 30, 2022 · 4 comments
Open

Case-split on bind patterns #10

imkiva opened this issue Jul 30, 2022 · 4 comments
Milestone

Comments

@imkiva
Copy link
Member

imkiva commented Jul 30, 2022

No description provided.

@imkiva imkiva added this to the 0.19 milestone Jul 30, 2022
@ice1000
Copy link
Member

ice1000 commented Jul 31, 2022

Did you mean case-splits on bind patterns?

@imkiva
Copy link
Member Author

imkiva commented Aug 1, 2022

Did you mean case-splits on bind patterns?

Yes, but called inside a hole (like C-c C-c in agda mode)

@ice1000
Copy link
Member

ice1000 commented Aug 2, 2022

Did you mean case-splits on bind patterns?

Yes, but called inside a hole (like C-c C-c in Agda mode)

We don't need to enforce quick-fixes to be in holes. We can make them happen everywhere. I think Agda mode does this due to their poor IDE support

@imkiva
Copy link
Member Author

imkiva commented Aug 3, 2022

Did you mean case-splits on bind patterns?

Yes, but called inside a hole (like C-c C-c in Agda mode)

We don't need to enforce quick-fixes to be in holes. We can make them happen everywhere. I think Agda mode does this due to their poor IDE support

Ohhh yes! It should be an action for all bind patterns. Like the "put parameters on separate lines" for Java

@imkiva imkiva changed the title Case-split on holes Case-split on bind patterns Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants