yampa-sdl2-0.1.0.2: Yampa and SDL2 made easy

Data.Colour.Chan

newtype Chan p a Source #

Constructors

Instances

Methods

(==) :: Chan p a -> Chan p a -> Bool #

(/=) :: Chan p a -> Chan p a -> Bool #

empty :: Num a => Chan p a Source #

full :: Num a => Chan p a Source #

scale :: Num a => a -> Chan p a -> Chan p a Source #

add :: Num a => Chan p a -> Chan p a -> Chan p a Source #

invert :: Num a => Chan p a -> Chan p a Source #

over :: Num a => Chan p a -> a -> Chan p a -> Chan p a Source #

convert :: (Fractional b, Real a) => Chan p a -> Chan p b Source #

sum :: Num a => [Chan p a] -> Chan p a Source #