# reflection

> Reify run-time values into Haskell types and reflect them back

Source: https://talira.ai/catalog/reflection-1kas678y
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / functional programming](https://talira.ai/categories/libraries/functional-programming), [languages / haskell](https://talira.ai/categories/languages/haskell)
- Licence: BSD-3-Clause[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Edward Kmett](https://talira.ai/orgs/edward-kmett.md)

reflection is a [Haskell](https://talira.ai/catalog/haskell-jjq1dx6f.md) library that reifies arbitrary terms into types that can be reflected back into terms. It solves the configuration problem: passing configuration known only at run time through code, with several configurations coexisting, without mutable global variables or `unsafePerformIO`. It implements Kiselyov and Shan's paper "Functional Pearl: Implicit Configurations" with a streamlined, faster API, and is maintained by Edward Kmett.

## Links

- GitHub: https://github.com/ekmett/reflection

## Problems it solves

- pass run-time configuration through Haskell code without a global variable
- use a value known at run time as a type-level parameter
- implicit configuration in Haskell type classes

## Features

- reify values into types and reflect them back
- run-time configuration without global state
- implements the Implicit Configurations paper

## Trust

Overall: 0.42 out of 1.
Signals: maintenance 0.67, adoption 0.41, momentum 0.06, community 0.54, backing 0.30, extensibility 0.00.

- last commit 18 days ago
- 11 commits in the last 90 days
- 105 GitHub stars
- 21 contributors
- backed by Edward Kmett

## Sources

[^1]: https://github.com/ekmett/reflection/blob/master/LICENSE (checked 29 Nov 2026)
[^2]: https://github.com/ekmett/reflection/blob/master/reflection.cabal (checked 29 Nov 2026)
