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

nondecreasing export list formatting #313

Merged
merged 1 commit into from
Oct 20, 2020

Conversation

expipiplus1
Copy link
Contributor

@expipiplus1 expipiplus1 commented Aug 28, 2020

module Foo
  ( bar
  , baz
  )
where

now becomes

module Foo
  ( bar
  , baz
  ) where

Having the where aligned with module is a bit weirdy IMO.

Not sure if my patch is the best way to do this, I wrote it a while ago
and have forgotten how much care I put into it.

Haven't updated the tests yet either, but is this something which would
be merged?

@tfausak
Copy link
Collaborator

tfausak commented Aug 28, 2020

Looks good to me! I've always wondered by Brittany formats exports lists like this in the first place.

@tfausak tfausak requested a review from lspitzner August 28, 2020 20:15
@expipiplus1
Copy link
Contributor Author

Is it possible to get this merged, please?

@tfausak
Copy link
Collaborator

tfausak commented Oct 20, 2020

Sure, I'll go ahead and merge this.

@tfausak tfausak merged commit 682f08c into lspitzner:master Oct 20, 2020
@expipiplus1
Copy link
Contributor Author

expipiplus1 commented Oct 21, 2020 via email

@expipiplus1 expipiplus1 deleted the joe-exportlist branch October 21, 2020 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants