The th-utilities package

[ Tags: library, mit, template-haskell ] [ Propose Tags ]

[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.1, 0.1.1.0, 0.1.1.1, 0.2.0.0, 0.2.0.1
Change log ChangeLog.md
Dependencies base (>=4.7 && <5), bytestring, containers, directory, filepath, primitive, syb, template-haskell (>=2.7), text, th-orphans [details]
License MIT
Copyright 2016 FP Complete
Author
Maintainer Michael Sloan <sloan@fpcomplete.com>
Category Template Haskell
Home page https://github.com/fpco/th-utilities#readme
Bug tracker https://github.com/fpco/th-utilities/issues
Source repository head: git clone https://github.com/fpco/th-utilities
Uploaded Tue Aug 2 10:04:53 UTC 2016 by MichaelSloan
Distributions Arch:0.2.0.1, LTSHaskell:0.2.0.1, NixOS:0.2.0.1, Stackage:0.2.0.1, Tumbleweed:0.2.0.1
Downloads 5884 total (120 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-11-21 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for th-utilities-0.2.0.1

[back to package description]

th-utilities

Build Status

The 'th-utilities' package provides a number of useful utilities for Template Haskell. In particular:

  • TH.Derive provides a convenient system for using TH to derive typeclass instances. It allows for open registration of TH derivers, and reuses instance syntax for invoking them.

  • TH.ReifyDataType provides utilities for reifying simplified datatype info. It omits details that you don't usually want to handle, making it much more straightforward to generate code based on datatype structure.

  • TH.RelativePaths provides utilities for loading files based on paths relative to the cabal file. This is particularly handy for loading code into ghci even when its current dir isn't the package dir. Ideally, this module would be used by everyone who currently uses qAddDependentFile.

  • TH.Utilities provides a miscellaneous set of utilities that are useful within this package and elsewhere.