stylish-haskell 0.9.2.2 Haskell code prettifier
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
statementsGroup and wrap
-# LANGUAGE #-
pragmas, remove (some) redundant pragmasRemove trailing whitespaces
Align branches in
case
and fields in recordsConvert line endings (customisable)
Replace tabs by four spaces (turned off by default)
Replace some ASCII sequences by their Unicode equivalent (turned off by default)
- Website: https://github.com/jaspervdj/stylish-haskell
- License: Modified BSD
- Package source: haskell-apps.scm
- Patches: None
- Builds: x86_64-linux, i686-linux