./devel/stylish-haskell, Haskell code prettifier

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.14.6.0nb1, Package name: stylish-haskell-0.14.6.0nb1, Maintainer: pkgsrc-users

A simple Haskell code prettifier. The goal is not to format all of the code
in a file, since I find those kind of tools often "get in the
way". However, manually cleaning up import statements etc. gets tedious
very quickly.

This tool tries to help where necessary without getting in the way.

Features:
* Aligns and sorts import statements
* Groups and wraps {-# LANGUAGE #-} pragmas, can remove (some) redundant
pragmas
* Removes trailing whitespace
* Aligns branches in case and fields in records
* Converts line endings (customizable)
* Replaces tabs by four spaces (turned off by default)
* Replaces some ASCII sequences by their Unicode equivalents (turned off by
default)
* Format data constructors and fields in records.


Master sites:

Filesize: 73.32 KB

Version history: (Expand)


CVS history: (Expand)


   2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137)
Log message:
Recursive revbump after changing the default Haskell compiler
   2024-05-05 10:49:35 by Masatake Daimon | Files touched by this commit (5)
Log message:
devel/stylish-haskell: import stylish-haskell-0.14.6.0

A simple Haskell code prettifier. The goal is not to format all of the code
in a file, since I find those kind of tools often "get in the
way". However, manually cleaning up import statements etc. gets tedious
very quickly.

This tool tries to help where necessary without getting in the way.

Features:
* Aligns and sorts import statements
* Groups and wraps {-# LANGUAGE #-} pragmas, can remove (some) redundant
  pragmas
* Removes trailing whitespace
* Aligns branches in case and fields in records
* Converts line endings (customizable)
* Replaces tabs by four spaces (turned off by default)
* Replaces some ASCII sequences by their Unicode equivalents (turned off by
  default)
* Format data constructors and fields in records.