stylish-haskell1
Simple haskell code prettifier
Usage
stylish-haskell [{-c | --config=FILE}]
[{-v | --verbose}]
[{-i | --inplace}]
[--no-utf8]
[FILES] ...
stylish-haskell {-d | --defaults}
stylish-haskell {-? | --help}
stylish-haskell --version
Overview
stylish-haskell performs automatic formatting on the Haskell code in the files passed on the command line or piped via STDIN. It outputs to STDOUT unless -i is specified.
STDIN is assumed to be encoded UTF-8, unless the --no-utf8 option is used.
Options
-
-c, --config=FILE -
Override the default configuration file.
-
-v, --verbose -
Turn on verbose output.
-
-i, --inplace -
Prettify and overwrite the given files in place.
-
-d, --defaults -
Dump default config and exit.
-
-?, --help -
Output help text and exit.
-
--version -
Output version information and exit.
-
--no-utf8 -
Don’t assume that STDIN is encoded UTF-8, and don’t force UTF-8 output.
Releases
4 releases since Debian 9 (Stretch); the text changed 3 times.