Formatting and refactoring via hlint and stylish-haskell