Skip to content

Conversation

@maksbotan
Copy link
Contributor

Not everyone wants their typeclasses sorted.


indentIndentStyle4 :: Config
indentIndentStyle4 = Config (Indent 4) (Indent 4) 4 4 False True SameLine False NoMaxColumns
indentIndentStyle4 = Config (Indent 4) (Indent 4) 4 4 False True SameLine False True NoMaxColumns
Copy link
Member

Choose a reason for hiding this comment

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

It would make sense to add a test which checks whether "not sorting" actually does what it promises

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, done!

Not everyone wants their typeclasses sorted.
@maksbotan maksbotan force-pushed the maksbotan/no-sort-deriving branch from 2e1d65a to 6546ac3 Compare October 5, 2020 18:10
@lukasz-golebiewski lukasz-golebiewski merged commit 84ff4e5 into haskell:main Oct 5, 2020
@maksbotan maksbotan deleted the maksbotan/no-sort-deriving branch October 8, 2020 08:01
@maksbotan
Copy link
Contributor Author

Hi @lukasz-golebiewski @jaspervdj! Can you please make a Hackage release with this included?

@jaspervdj
Copy link
Member

@maksbotan I've uploaded it as v0.12.2.0 to Hackage, thanks for reminding me! It also includes a number of other fixes and enhancements.

tchoutri pushed a commit to tchoutri/stylish-haskell that referenced this pull request Feb 20, 2021
* Make sorting deriving list optional

Not everyone wants their typeclasses sorted.

* Remove redundant code

Co-authored-by: Łukasz Gołębiewski <lukasz.golebiewski@gmail.com>
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.

3 participants