Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Core types. This module is internal and provides no guarantees about stability and safety of it's interface.
Synopsis
- type family Inst (c :: Constraint) = (t :: Type) | t -> c
- data family Dict :: Constraint -> Type
Documentation
type family Inst (c :: Constraint) = (t :: Type) | t -> c Source #
Type family that maps constraint to it's first class representation - should be generally used instead of it's concrete result for consistency.
Instances
type Inst (Monad m) Source # | |
Defined in FCI.Control.Monad | |
type Inst (Functor f) Source # | |
Defined in FCI.Data.Functor | |
type Inst (Applicative f) Source # | |
Defined in FCI.Control.Applicative |
data family Dict :: Constraint -> Type Source #
Data family, instances of which are generated by TH for normal typeclasses
(see mkInstRep
). Do not write these by hand, instead, create new
instance of Inst
mapping to separate datatype when working on library.
Instances
data Dict (Monad m) Source # | |
Defined in FCI.Control.Monad | |
data Dict (Functor f) Source # | |
data Dict (Applicative f) Source # | |
Defined in FCI.Control.Applicative |