TV-0.5.0: Tangible Values -- composable interfaces

PortabilityMultiParamTypeClasses
Stabilityexperimental
Maintainerconal@conal.net
Safe HaskellNone

Interface.TV.OFun

Description

Output transformations, as a deep arrow.

Synopsis

Documentation

type OX dom ran a b = Output dom ran a -> Output dom ran bSource

Output functions.

data OFun dom ran a b Source

Output functions as a DeepArrow

Instances

Arrow (OFun dom ran) 
DeepArrow (OFun dom ran) 
Category (OFun dom ran) 
FunArr (OFun dom ran) (Output dom ran) 

wrapO :: (Functor dom, ContraFunctor ran) => (b' -> b) -> (a -> a') -> OX dom ran (a -> b) (a' -> b')Source

Like wrapF, but for outputs and reversed orientation. Specialization of wrapAO.