Package Info

ghc-reflection


Reifies arbitrary terms into types that can be reflected back into terms


Unspecified

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 'System.IO.Unsafe.unsafePerformIO'.

That package is an implementation of the ideas presented in the paper "Functional Pearl: Implicit Configurations" by Oleg Kiselyov and Chung-chieh Shan (<http://okmij.org/ftp/Haskell/tr-15-04.pdf original paper>). However, the API has been streamlined to improve performance.

Austin Seipp's tutorial <https://www.schoolofhaskell.com/user/thoughtpolice/using-reflection Reflecting values to types and back> provides a summary of the approach taken by this library, along with more motivating examples.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/reflection

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
2.1.6-bp155.3.16 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-reflection
  • ghc-reflection-devel
2.1.6-bp154.2.11 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • x86-64
  • ghc-reflection
  • ghc-reflection-devel
2.1.5-bp153.1.20 info GA Release 2021-04-08 15 SP3
  • AArch64
  • ppc64le
  • x86-64
  • ghc-reflection
  • ghc-reflection-devel
2.1.5-bp152.1.14 info GA Release 2020-06-16 15 SP2
  • AArch64
  • ppc64le
  • x86-64
  • ghc-reflection
  • ghc-reflection-devel
2.1.4-bp151.2.2 info GA Release 2019-07-17 15 SP1
  • ppc64le
  • s390x
  • x86-64
  • ghc-reflection
  • ghc-reflection-devel
2.1.4-bp151.1.12 info GA Release 2019-05-31 15 SP1
  • AArch64
  • ghc-reflection
  • ghc-reflection-devel
2.1.2-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • x86-64
  • ghc-reflection
  • ghc-reflection-devel
2.1.2-2.9 info 5585 2016-09-14 12 GA-SP5
  • AArch64
  • s390x
  • x86-64
  • ghc-reflection
  • ghc-reflection-devel
2.1.2-2.3 info 5585 2016-09-14 12 GA-SP5
  • ppc64le
  • ghc-reflection
  • ghc-reflection-devel