haskell-src

Support for manipulating Haskell source code

Version on this page:1.0.3.1@rev:3
LTS Haskell 22.39:1.0.4.1
Stackage Nightly 2024-10-31:1.0.4.1
Latest on Hackage:1.0.4.1

See all snapshots haskell-src appears in

BSD-3-Clause licensed by Simon Marlow, Sven Panne and Noel Winstanley
This version can be pinned in stack with:haskell-src-1.0.3.1@sha256:6601bb4165fc5d66fb9ffc95912f770ceb1b59fce2248dd3cab4a4fa6a8b5942,1622
Depends on 4 packages(full list with versions):
Used by 2 packages in nightly-2021-07-08(full list with versions):

The haskell-src package provides support for manipulating Haskell source code. The package provides a lexer, parser and pretty-printer, and a definition of a Haskell abstract syntax tree (AST). Common uses of this package are to parse or generate Haskell 98 code

Changes

1.0.3.1

  • GHC 8.8.1/base-4.13 only compatibility release to support MonadFail

1.0.3.0

  • Add support for MonadFail & Semigroup proposals by adding respective instances for P and Lex.

  • Drop support for GHC versions prior to GHC 7.0.

  • Remove -O2 from ghc-options.

1.0.2.0

  • Add support for GHC 7.10 & base-4.8)

  • Add missing Functor & Applicative instances for P and Lex monads needed for AMP compatibility.