th-abstraction: Nicer interface for reified information about data types

[ development, library ] [ Propose Tags ] [ Report a vulnerability ]

This package normalizes variations in the interface for inspecting datatype information via Template Haskell so that packages and support a single, easier to use informational datatype while supporting many versions of Template Haskell.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.2.1, 0.1.3.0, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.3.0, 0.2.4.0, 0.2.5.0, 0.2.6.0, 0.2.7.0, 0.2.8.0, 0.2.9.0, 0.2.10.0, 0.2.11.0, 0.3.0.0, 0.3.1.0, 0.3.2.0, 0.4.0.0, 0.4.1.0, 0.4.2.0, 0.4.3.0, 0.4.4.0, 0.4.5.0, 0.5.0.0, 0.6.0.0, 0.7.0.0
Change log ChangeLog.md
Dependencies base (>=4.3 && <5), containers (>=0.4 && <0.7), ghc-prim, template-haskell (>=2.5 && <2.21) [details]
Tested with ghc ==9.6.1, ghc ==9.4.4, ghc ==9.2.6, ghc ==9.0.2, ghc ==8.10.7, ghc ==8.8.4, ghc ==8.6.5, ghc ==8.4.4, ghc ==8.2.2, ghc ==8.0.2, ghc ==7.10.3, ghc ==7.8.4, ghc ==7.6.3, ghc ==7.4.2, ghc ==7.2.2, ghc ==7.0.4
License ISC
Copyright 2017 Eric Mertens
Author Eric Mertens
Maintainer emertens@gmail.com
Category Development
Home page https://github.com/glguy/th-abstraction
Bug tracker https://github.com/glguy/th-abstraction/issues
Source repo head: git clone https://github.com/glguy/th-abstraction.git
Uploaded by ryanglscott at 2023-02-27T10:45:36Z
Distributions Arch:0.4.5.0, Debian:0.3.2.0, Fedora:0.4.5.0, LTSHaskell:0.5.0.0, NixOS:0.5.0.0, Stackage:0.7.0.0, openSUSE:0.6.0.0
Reverse Dependencies 70 direct, 14815 indirect [details]
Downloads 142335 total (882 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-02-27 [all 1 reports]

Readme for th-abstraction-0.5.0.0

[back to package description]

th-abstraction

Hackage Build Status

This package provides a consistent interface to a subset of Template Haskell.

Currently the package provides a consistent view of the reified declaration information about datatypes, newtypes, and data family instances. These interfaces abstract away the differences in the normal and GADT syntax used to define these types.

Contact Information

Please contact me via GitHub or on the #haskell IRC channel on irc.libera.chat