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

Break a long type application (not TypeApplications) #664

Merged
merged 6 commits into from
Jan 7, 2023

Conversation

toku-sa-n
Copy link
Collaborator

@toku-sa-n toku-sa-n commented Jan 7, 2023

Although it was reported as a type synonym issue, it was a general
problem with types being written, not limited to type synonyms.

This commit involves a considerable change. While we were able to keep
each line within 80 lines, honestly, I feel that some parts lost
readability (especially the multi-line headers in the instance
declarations).

On second thought, it was already difficult to read before this change because these types were long, to begin with. Now that they are broken up into multiple lines, I feel that it is somewhat easier to read.

Fixes: #534

Although it was reported as a type synonym issue, it was a general
problem with types being written, not limited to type synonyms.

This commit involves a considerable change. While we were able to keep
each line within 80 lines, honestly, I feel that some parts lost
readability (especially the multi-line headers in the instance
declarations).

Fixes: mihaimaruseac#534
@toku-sa-n toku-sa-n marked this pull request as ready for review January 7, 2023 03:34
@mihaimaruseac mihaimaruseac merged commit 6926b7d into mihaimaruseac:master Jan 7, 2023
@toku-sa-n toku-sa-n deleted the long_type branch January 7, 2023 23:13
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.

Long type synonyms are not reformatted
2 participants