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

Version on this page:
LTS Haskell 15.14:0.2.5
Stackage Nightly 2020-05-31:0.2.5
Latest on Hackage:0.2.5

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

BSD-3-Clause licensed by Neil Mitchell, Jose Iborra
Maintained by [email protected]

Module documentation for

This version can be pinned in stack with:[email protected]:2e14a871cda4416c0f3fb846f208b0d769e658091487db4b22b77930d200a79d,1029

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.


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.