computations-0.0.0.0: Advanced notions of computation

Safe HaskellNone
LanguageHaskell2010

Control.Computation.Resourceful

Contents

Synopsis

Computations

Resourceful computations

data a ** b infixr 7 Source

Instances

ResourceValue a => ResourceValue ((**) a b) 
(Resource a, Resource b) => ResourceFunction ((**) a b) 
(Resource a, Resource b) => Resource ((**) a b) 
Typeable (* -> * -> *) (**) 

data a -: b infixr 1 Source

Instances

Resources

data Anchor a Source

Constructors

forall h . Anchor (a ~> AtomicResource h) (AtomicResource h ~> a) 

Instances

Typeable (* -> *) Anchor 

Attributes

type Attr a v = Property a a v Source

newtype Property a b v Source

Constructors

Property (forall h. (v -> b ~> AtomicResource h) -> a ~> AtomicResource h) 

Instances

Functor (Property a b) 
Typeable (* -> * -> * -> *) Property 

(^>) :: (a -> b) -> Property b c v -> Property a c v infixr 1 Source

(>^) :: Property a b v -> (b -> c) -> Property a c v infixr 1 Source

(^^>) :: (a ~> b) -> Property b c v -> Property a c v infixr 1 Source

(>^^) :: Property a b v -> (b ~> c) -> Property a c v infixr 1 Source

Resource values

Atomic resources