incremental-computing-0.0.1.0: Incremental computing

Safe HaskellNone
LanguageHaskell2010

Data.Incremental.Tuple

Contents

Synopsis

Changes

Atomic changes

data AtomicChange a b Source #

Constructors

First (DefaultChange a) 
Second (DefaultChange b) 

Instances

(Changeable a, Changeable b) => Change (AtomicChange a b) Source # 

Associated Types

type Value (AtomicChange a b) :: * Source #

Methods

($$) :: AtomicChange a b -> Value (AtomicChange a b) -> Value (AtomicChange a b) Source #

type Value (AtomicChange a b) Source # 
type Value (AtomicChange a b) = (a, b)

Transformations

(&&&) :: (Changeable a, Changeable b, Changeable c) => (a ->> b) -> (a ->> c) -> a ->> (b, c) Source #

fst :: (Changeable a, Changeable b) => (a, b) ->> a Source #

snd :: (Changeable a, Changeable b) => (a, b) ->> b Source #

swap :: (Changeable a, Changeable b) => (a, b) ->> (b, a) Source #

Orphan instances

(Changeable a, Changeable b) => Changeable (a, b) Source # 

Associated Types

type DefaultChange (a, b) :: * Source #