Skip to content

Conversation

@1Computer1
Copy link
Contributor

Alternatively, make it the default behavior? I don't think I've ever seen someone add a new line before where like that before.

if false, will not drop the `where` in `module A where` when formatting
@lukasz-golebiewski
Copy link
Member

Making it default makes more sense to me

@1Computer1
Copy link
Contributor Author

Sorry, do you mean to make

module Foo where

or

module Foo
  where

the default?

@lukasz-golebiewski
Copy link
Member

Hey! I agree with you, so let's make former the default :-)

Copy link
Member

@lukasz-golebiewski lukasz-golebiewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@lukasz-golebiewski lukasz-golebiewski merged commit 2d54b73 into haskell:main Oct 26, 2020
tchoutri pushed a commit to tchoutri/stylish-haskell that referenced this pull request Feb 20, 2021
* add `break_only_where` option
if false, will not drop the `where` in `module A where` when formatting
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.

2 participants