haskell-src-exts-util

Helper functions for working with haskell-src-exts trees https://github.com/pepeiborra/haskell-src-exts-util

Version on this page:0.2.4
LTS Haskell 12.24:0.2.4
Stackage Nightly 2018-12-19:0.2.4
Latest on Hackage:0.2.4

See all snapshots haskell-src-exts-util appears in

BSD3 licensed by Neil Mitchell, Jose Iborra
Maintained by pepeiborra@gmail.com

Module documentation for 0.2.4

There are no documented modules for this package.

Hackage Stackage Nightly Travis Build Status haskell-src-exts-util

A small suite of helper functions for working with haskell-src-exts:

  • Free variables
  • Bound variables
  • Minimal (approximate) rebracketing of AST values such that prettyprint roundtrips.

Acknowledgments

This package extracts some the HSE functions in HLint and generalizes them. The original code was authored over the years by Neil Mitchell and the rest of HLint contributors.

Changes

0.2.4

  • Neil fixed the spotting of brackets inside a lambda.

0.2.3

  • isAtom is now more complete, thanks to Neil M.

0.2.2

  • Improved handling of OverloadedLabel syntax, thanks to Neil M.
  • Changed the treatment of multiple function composition in needParen. The new treatment is less keen to remove parentheses. Note that this is a change of behavior.
  • GHC 8.4 compatibility, courtesy of Ryan G. Scott
comments powered byDisqus