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

Incosistent newline between operator and do keyword #1150

Open
cblp opened this issue Dec 19, 2024 · 0 comments
Open

Incosistent newline between operator and do keyword #1150

cblp opened this issue Dec 19, 2024 · 0 comments
Labels
style Nitpicking and things related to purely visual aspect for formatting.

Comments

@cblp
Copy link
Contributor

cblp commented Dec 19, 2024

a =
  ( b &~ do
      c
      d
  )

is ok, but

a =
  ( &~
      do
        c
        d
  )

is ugly and inconsistent with previous.

Context: I love to use endofunctions for optional arguments pattern, and State lenses in combination with (&~ do...) syntax are perfect means to write them. Extra line really bothers me.

@mrkkrp mrkkrp added the style Nitpicking and things related to purely visual aspect for formatting. label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
style Nitpicking and things related to purely visual aspect for formatting.
Projects
None yet
Development

No branches or pull requests

2 participants