devel/stylish-haskell - The NetBSD Packages Collection

Haskell code prettifier

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.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

converters/hs-aeson devel/hs-strict devel/hs-file-embed devel/hs-ghc-lib-parser-ex devel/hs-ghc-lib-parser devel/hs-syb textproc/hs-HsYAML textproc/hs-HsYAML-aeson textproc/hs-regex-tdfa devel/hs-optparse-applicative lang/ghc98 converters/hs-aeson devel/hs-strict devel/hs-file-embed devel/hs-ghc-lib-parser-ex devel/hs-ghc-lib-parser devel/hs-syb textproc/hs-HsYAML textproc/hs-HsYAML-aeson textproc/hs-regex-tdfa devel/hs-optparse-applicative lang/ghc98

Binary packages

OSArchitectureVersion
NetBSD 9.3x86_64stylish-haskell-0.14.6.0nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.