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]
|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 Mon Sep 24 16:48:52 UTC 2018|
|Category||Data, Reflection, Dependent Types|
|Source repo||head: git clone git://github.com/ekmett/reflection.git|
|Uploaded||by ryanglscott at Fri Jan 19 00:38:28 UTC 2018|
|Downloads||155738 total (375 in the last 30 days)|
|Rating||2.25 (votes: 2) [estimated by rule of succession]|
|Status||Docs available [build log]
Last success reported on 2018-01-19 [all 1 reports]
Hackage Matrix CI
If you enable this flag, we use a more portable much much slower implementation. Moreover, the
You can disable the use of the
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
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