talira

Compare

haskell-src-metath-liftth-abstraction
What it isParse Haskell source to Template Haskell syntaxDerive Template Haskell's Lift class for datatypesOne interface to Template Haskell's datatype information across GHC versions
KindOpen sourceOpen sourceOpen source
Trust0.240.230.23
Stars101320
Last commit2026-07-072026-01-042026-01-10
LicenceBSD-3-ClauseGPL-2.0-only OR th-lift BSD 3-clause licenceISC
PricingFree and open sourceFree and open sourceFree and open source
Free tierYesYesYes
Self-hostable———
Ways to run it———
SOC 2———
HIPAA———
SSO———
API———
Plugins———
MCP server———
Companyhaskell-partyRyan ScottEric Mertens
Features
  • haskell-src-exts AST to Template Haskell AST
  • for use in splices and quasiquoters
  • derives Lift instances for datatypes with Template Haskell
  • backports DeriveLift bug fixes to older GHC versions
  • normalized reified datatype, newtype and data family instance information
  • hides normal versus GADT syntax differences
  • supports many Template Haskell versions
  • tested on GHC 8.0 to 9.14
Limitations
  • The translation from haskell-src-exts syntax to Template Haskell syntax isn't complete.
  • GHC's DeriveLift extension does the same job built in since GHC 8.0, which has largely replaced this package
  • Only useful for projects that still support GHC versions older than the DeriveLift fixes they need