Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
DDF.PE
Documentation
data P repr h a where Source #
Constructors
Open :: (forall hout. EnvT repr h hout -> P repr hout a) -> P repr h a | |
Unk :: repr h a -> P repr h a | |
Known :: K repr h a -> repr h a -> (forall hout. EnvT repr h hout -> P repr hout a) -> (forall any. P repr (any, h) a) -> (forall hh ht. (hh, ht) ~ h => P repr ht (hh -> a)) -> P repr h a |
Instances
DBI r => DBI (P r) Source # | |
Float r => Float (P r) Source # | |
Option repr => Option (P repr) Source # | |
Prod r => Prod (P r) Source # | |
Dual repr => Dual (P repr) Source # | |
Sum r => Sum (P r) Source # | |
Unit repr => Unit (P repr) Source # | |
Y r => Y (P r) Source # | |
List repr => List (P repr) Source # | |
Char repr => Char (P repr) Source # | |
IO repr => IO (P repr) Source # | |
Bool r => Bool (P r) Source # | |
Double r => Double (P r) Source # | |
Int repr => Int (P repr) Source # | |
IO repr => Monad (P repr) IO Source # | |
IO repr => Applicative (P repr) IO Source # | |
IO repr => Functor (P repr) IO Source # | |
know :: DBI repr => K repr h a -> repr h a -> (forall hout. EnvT repr h hout -> P repr hout a) -> (forall any. P repr (any, h) a) -> P repr h a Source #
type family K (repr :: * -> * -> *) h a Source #
Instances
type K repr h () Source # | |
type K repr h Int Source # | |
type K repr h Char Source # | |
type K repr h Float Source # | |
type K repr h Double Source # | |
type K repr h Bool Source # | |
type K repr h (IO a) Source # | |
type K repr h (Maybe a) Source # | |
type K repr h [a] Source # | |
type K repr h (Dual l r) Source # | |
type K repr h (Either a b) Source # | |
type K repr h (a, b) Source # | |
type K repr h (a -> b) Source # | |
mkFun :: DBI repr => (forall hout. EnvT repr (a, h) hout -> P repr hout b) -> P repr h (a -> b) Source #