Skip to content

Add break_newtypes flag. (#342)#343

Open
imuli wants to merge 1 commit intohaskell:mainfrom
imuli:break-newtypes
Open

Add break_newtypes flag. (#342)#343
imuli wants to merge 1 commit intohaskell:mainfrom
imuli:break-newtypes

Conversation

@imuli
Copy link
Copy Markdown
Contributor

@imuli imuli commented Nov 27, 2020

Default behavior remains the same, but when you set break_newtypes to
false newtypes will be formatted on a single line.

Default behavior remains the same, but when you set `break_newtypes` to
`false` newtypes will be formatted on a single line.
@imuli
Copy link
Copy Markdown
Contributor Author

imuli commented Nov 27, 2020

Happy to add tests if you all want this.

@EncodePanda
Copy link
Copy Markdown
Contributor

Yeah, this is great. Can you please provide a test for this?

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