distributed-closure-0.4.0: Serializable closures for distributed programming.

Safe HaskellNone
LanguageHaskell2010

Control.Comonad.Static

Synopsis

Documentation

class StaticFunctor w => StaticExtend w where #

Minimal complete definition

staticDuplicate | staticExtend

Methods

staticDuplicate :: Typeable a => w a -> w (w a) #

staticExtend :: (Typeable a, Typeable b) => Closure (w a -> b) -> w a -> w b #

Instances
StaticExtend Closure # 
Instance details

Defined in Control.Comonad.Static

Methods

staticDuplicate :: Typeable a => Closure a -> Closure (Closure a) #

staticExtend :: (Typeable a, Typeable b) => Closure (Closure a -> b) -> Closure a -> Closure b #

class StaticExtend w => StaticComonad w where #

Minimal complete definition

staticExtract

Methods

staticExtract :: Typeable a => w a -> a #

Instances
StaticComonad Closure # 
Instance details

Defined in Control.Comonad.Static

Methods

staticExtract :: Typeable a => Closure a -> a #