Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

hackage.haskell.org : lift-generics

This package provides a GHC.Generics-based genericLift function (only available on GHC 7.4 and later), as well as a genericLiftWithPkgFallback function (for code that must support GHC 7.2 and earlier) and a genericLiftWithPkg function (for use when neither of the above will work), all of which can be used for providing a Language.Haskell.TH.Syntax.lift implementation. See the documentation in the Language.Haskell.TH.Lift.Generics module to get started. Credit goes to Matthew Pickering for suggesting this idea. Note that due to API limitations, GHC.Generics wasn't powerful enough to come up with the entirety of a lift implementation prior to GHC 8.0. For GHC 7.4 and later, we can pluck this information out of Typeable. For earlier versions, and where Typeable isn't available, genericLiftWithPkg requires you to produce the package name yourself, which proves to be no small feat (see the documentation for more info). Luckily, you don't have to jump through as many hoops on GHC 7.4 and later: simply use the genericLift function, and life is good.

Registry - Source - JSON
purl: pkg:hackage/lift-generics
Keywords: bsd3, language, library
License: BSD-3-Clause
Latest release: over 2 years ago
First release: over 8 years ago
Dependent repositories: 20
Downloads: 3,618 total
Stars: 4 on GitHub
Forks: 1 on GitHub
Total Commits: 67
Committers: 3
Average commits per author: 22.333
Development Distribution Score (DDS): 0.149
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 12 days ago

    Loading...
    Readme
    Loading...