pipes-category-0.1.0.0: Allows instances for Category, Arrow and ArrowChoice for Pipes.
Pipes.PipeC
Description
Allows instances for Category, Arrow and ArrowChoice for Pipe using newtypewrapper PipeC.
Pipe
PipeC
newtype PipeC m r b c Source #
Constructors
Fields
Instances
Methods
id :: cat a a #
(.) :: cat b c -> cat a b -> cat a c #
arr :: (b -> c) -> PipeC m r b c #
first :: PipeC m r b c -> PipeC m r (b, d) (c, d) #
second :: PipeC m r b c -> PipeC m r (d, b) (d, c) #
(***) :: PipeC m r b c -> PipeC m r b' c' -> PipeC m r (b, b') (c, c') #
(&&&) :: PipeC m r b c -> PipeC m r b c' -> PipeC m r b (c, c') #
left :: PipeC m r b c -> PipeC m r (Either b d) (Either c d) #
right :: PipeC m r b c -> PipeC m r (Either d b) (Either d c) #
(+++) :: PipeC m r b c -> PipeC m r b' c' -> PipeC m r (Either b b') (Either c c') #
(|||) :: PipeC m r b d -> PipeC m r c d -> PipeC m r (Either b c) d #
Associated Types
type Unwrapped (PipeC m0 r0 b0 c0) :: * #
_Wrapped' :: Iso' (PipeC m0 r0 b0 c0) (Unwrapped (PipeC m0 r0 b0 c0)) #