Copyright | (c) Fumiaki Kinoshita 2018 |
---|---|
License | BSD3 |
Maintainer | Fumiaki Kinoshita <fumiexcel@gmail.com> |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Reification of constraints using extensible data types. Also includes orphan instances.
Documentation
library :: forall c xs. Forall c xs => xs :& Compose 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 :: k1 -> Constraint) (h :: k2 -> k1) (x :: k2) 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 |