reflection: Reifies arbitrary terms into types that can be reflected back into terms
This package addresses the configuration problem which is
propagating configurations that are available at run-time, allowing
multiple configurations to coexist without resorting to mutable
global variables or
That package is an implementation of the ideas presented in the paper "Functional Pearl: Implicit Configurations" by Oleg Kiselyov and Chung-chieh Shan (original paper). However, the API has been streamlined to improve performance.
Austin Seipp's tutorial Reflecting values to types and back provides a summary of the approach taken by this library, along with more motivating examples.
[Skip to Readme]
|Versions [RSS] [faq]|
|Dependencies||base (>=2 && <4.12), semigroups (>=0.11 && <0.19), tagged (>=0.4.4 && <1), template-haskell [details]|
|Copyright||2009-2013 Edward A. Kmett, 2012 Elliott Hird, 2004 Oleg Kiselyov and Chung-chieh Shan|
|Author||Edward A. Kmett, Elliott Hird, Oleg Kiselyov and Chung-chieh Shan|
|Maintainer||Edward A. Kmett <firstname.lastname@example.org>|
|Revised||Revision 1 made by phadej at 2018-09-24T16:48:52Z|
|Category||Data, Reflection, Dependent Types|
|Source repo||head: git clone git://github.com/ekmett/reflection.git|
|Uploaded||by ryanglscott at 2018-01-19T00:38:28Z|
|Downloads||200968 total (1643 in the last 30 days)|
|Rating||2.25 (votes: 2) [estimated by Bayesian average]|
Docs available [build log]
Last success reported on 2018-01-19 [all 1 reports]
You can disable the use of the `template-haskell` package using `-f-template-haskell`.
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
If you enable this flag, we use a more portable much much slower implementation. Moreover, the
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
- reflection-2.1.3.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
For package maintainers and hackage trustees
- No Candidates