cabal-version: 2.4
name: runtime-instances
version: 1.0
synopsis: Look up class instances at runtime.
description:
This package allows clients to build a database of class instances,
queryable at runtime. Accordingly, this allows runtime class instance
lookup. Template Haskell utility functions are provided for creating
the instance database from the set of instances in scope at a given
point in your program.
homepage: https://github.com/goldfirere/runtime-instances
bug-reports: https://github.com/goldfirere/runtime-instances/issues
license: MIT
license-file: LICENSE
author: Richard Eisenberg
maintainer: rae@richarde.dev
copyright: Richard Eisenberg
-- category:
extra-source-files: CHANGELOG.md
library
exposed-modules: Instance.Runtime
Instance.Runtime.TH
other-modules:
-- other-extensions:
build-depends: base >= 4.16 && < 5,
containers >= 0.5,
sop-core >= 0.5,
type-reflection >= 1.0,
template-haskell >= 2.18,
th-utilities >= 0.2
hs-source-dirs: src
default-language: GHC2021
default-extensions:
test-suite test
default-language: GHC2021
ghc-options: -Wno-missing-home-modules
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Test.hs
other-modules: Class
HiddenInstanceTest
build-depends: base >= 4.16 && < 5,
runtime-instances,
type-reflection >= 0.1,
tasty >= 1.4.2,
tasty-hunit >= 0.10,