The syntax-trees-fork-bairyn package

[ Tags: bsd3, language, library ] [ Propose Tags ]

This is a fork of Dominic Orchard's syntax-trees package that is patched just to build on Haskell's more modern ecosystem.

Provides an instance that translates haskell-src-exts expression trees into Template Haskell expression trees in a way that depends only on the haskell-src-exts syntax tree and agreement on the pretty-printed representation of Haskell between haskell-src-exts pretty-printer and Template Haskell quotations (as opposed to depending on both TH and haskell-src-exts syntax tree representations).

Instead of converting between data types, haskell-src-exts syntax trees are pretty-printed and wrapped in a TH quotation which is then interpreted as a Haskell program, yielding a TH Exp tree. Free variables in the haskell-src-exts tree are preserved by lifting them to TH splices prior to pretty-printing.

[Skip to Readme]


Dependencies base (==4.*), haskell-src-exts (>=1.16 && <2), hint, mtl, template-haskell, uniplate [details]
License BSD3
Author Dominic Orchard ,Byron Johnson
Maintainer ,
Category Language
Source repository head: git clone
this: git clone v0.1.2.5)
Uploaded Sun Nov 30 04:34:42 UTC 2014 by ByronJohnson
Distributions NixOS:
Downloads 274 total (2 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for syntax-trees-fork-bairyn-

[back to package description]

Notes on repository.

This repository hosts currently a fork of Dominic Orchard's syntax-trees project residing in a VCS repository, git in particular, with the following branches:

  • master: Currently the branch for the actual fork, for the syntax-trees-fork-bairyn package. Version tags refer to commits in this branch.
  • cherry-picked-build-fixes: Contains the initial import of the syntax-trees package with just build fixes cherry picked in.
  • cherry-picked-build-and-warning-fixes: Based on cherry-picked-build-fixes, this branch adds fixes to warnings, an addition of the "-Wall" flag for GHC so that warnings are emitted during the build process, and the correction of "template-haskell" typos.
  • fork-no-rename: Based on master, and adds commits that reverses the renaming of the fork and module names.