Copyright | (c) Fumiaki Kinoshita 2018 |
---|---|
License | BSD3 |
Maintainer | Fumiaki Kinoshita <fumiexcel@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
Reification of constraints using extensible data types. Also includes orphan instances.
Documentation
library :: forall c xs. Forall c xs => xs :& Comp Dict c Source #
Reify a collection of dictionaries, as you wish.
type WrapForall c h = Forall (Instance1 c h) Source #
Forall upon a wrapper
class c (h x) => Instance1 c h x Source #
Composition for a class and a wrapper
Instances
c (h x) => Instance1 (c :: k2 -> Constraint) (h :: k1 -> k2) (x :: k1) Source # | |
Defined in Data.Extensible.Dictionary |
class (f x, g x) => And f g x Source #
Instances
(f x, g x) => And (f :: k -> Constraint) (g :: k -> Constraint) (x :: k) Source # | |
Defined in Data.Extensible.Dictionary |