Language

Package: ghc-stylish-haskell @ 0.9.2.1

Synopsis

Haskell code prettifier

Description

Stylish-haskell is a Haskell code prettifier. The goal is not to format all of the code in a file, to avoid "getting in the way". However, this tool can e.g. clean up import statements and help doing various tasks that get tedious very quickly. It can

  • Align and sort import statements

  • Group and wrap -# LANGUAGE #- pragmas, remove (some) redundant pragmas

  • Remove trailing whitespaces

  • Align branches in case and fields in records

  • Convert line endings (customisable)

  • Replace tabs by four spaces (turned off by default)

  • Replace some ASCII sequences by their Unicode equivalent (turned off by default)

Home page
https://github.com/jaspervdj/stylish-haskell
Location
gnu/packages/haskell-xyz.scm (line: 10842, column: 2)
License

Lint warnings

LinterMessageLocation
No lint warnings