rope-0.1: Tools for manipulating annotated ropes of bytestrings
Data.Rope.Util.Coproduct
data a :+: b Source
Constructors
Instances
data a :+ b Source
class Bifunctor s => Coproduct s whereSource
Methods
left :: a -> s a bSource
right :: b -> s a bSource
(|||) :: (a -> c) -> (b -> c) -> s a b -> cSource
codiag :: s a a -> aSource
counzip :: (Coproduct s, Coproduct s', Functor f) => s (f a) (f b) -> f (s' a b)Source