objective-0.5.2.1: Extensible objects

Copyright(c) Fumiaki Kinoshita 2014
LicenseBSD3
MaintainerFumiaki Kinoshita <fumiexcel@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Data.Functor.PushPull

Description

 

Synopsis

Documentation

data PushPull a b r Source

The type for asynchronous input/output.

Constructors

Push a r 
Pull (b -> r) 

Instances

Functor (PushPull a b) 
Tower (PushPull a b) 
Typeable (* -> * -> * -> *) PushPull 
type Floors (PushPull a b) = Empty (* -> *) 

push :: Elevate (PushPull a b) f => a -> f () Source

pull :: Elevate (PushPull a b) f => f b Source