haskell-src-exts-simple: A simplified view on the haskell-src-exts AST

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

This package provides a shim for haskell-src-exts (HSE), exposing the same AST but without annotations, using ghc's pattern synonyms.

See README.md for further information and compatibility considerations.


[Skip to ReadMe]

Properties

Versions1.18.0.0, 1.18.0.1, 1.18.0.1.1, 1.19.0.0, 1.20.0.0, 1.20.0.0
Change logCHANGELOG.md
Dependenciesbase (>=4.7 && <5), haskell-src-exts (==1.20.*) [details]
LicenseMIT
Copyright2016, Bertram Felgenhauer
AuthorBertram Felgenhauer
MaintainerBertram Felgenhauer <int-e@gmx.de>
CategoryDevelopment
Home pagehttps://github.com/int-e/haskell-src-exts-simple
Source repositoryhead: git clone https://github.com/int-e/haskell-src-exts-simple
UploadedTue Dec 26 18:34:19 UTC 2017 by BertramFelgenhauer

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees


Readme for haskell-src-exts-simple-1.20.0.0

[back to package description]

haskell-src-exts-simple

Synopsis

This package provides a shim for haskell-src-exts, exposing the same AST but without annotations, using ghc's pattern synonyms.

This package is useful for synthesizing and manipulating HSE ASTs that don't carry source location information. It may also aid in porting packages from haskell-src-exts 1.17 to 1.18, but it is not a drop-in replacement for the old annotation-free AST. See the Compatibility section for details.

Versioning

To be able to track the haskell-src-exts version numbers conveniently, the first three components of the version will be treated as the major version, followed by the minor version as usual. This deviates from the PVP.

Compatibility

Comparison to haskell-src-exts 1.17 (as of version 1.18):

haskell-src-exts-simple provides a simplified view of the annotated AST in haskell-src-exts, so there are differences to the unannotated AST provided by earlier versions of haskell-src-exts:

(this list is probably incomplete)

ghc compatibility