Copyright | (c) Eric Crockett 2011-2017 Chris Peikert 2011-2017 |
---|---|
License | GPL-3 |
Maintainer | ecrockett0@email.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Generic interface for reflecting types to values.
Documentation
class Reflects a i where Source #
Reflection without fundep, and with tagged value. Intended only for low-level code; build specialized wrappers around it for specific functionality.
Instances
(KnownNat a, C i) => Reflects (a :: Nat) i Source # | |
Defined in Crypto.Lol.Reflects | |
(PosC a, C i) => Reflects (a :: Pos) i Source # | |
Defined in Crypto.Lol.Reflects | |
(BinC a, C i) => Reflects (a :: Bin) i Source # | |
Defined in Crypto.Lol.Reflects | |
(Prime p, C i) => Reflects (p :: PrimeBin) i Source # | |
Defined in Crypto.Lol.Reflects | |
(PPow pp, C i) => Reflects (pp :: PrimePower) i Source # | |
Defined in Crypto.Lol.Reflects | |
(Fact m, C i) => Reflects (m :: Factored) i Source # | |
Defined in Crypto.Lol.Reflects | |
(Reifies q i, C i, C r) => Reflects (q :: Type) r Source # | |
Defined in Crypto.Lol.Reflects |