continuations-0.0.0.0: Continuations, CPS, co-functions, and combinators for working with them
Safe HaskellNone
LanguageHaskell2010

Data.Bifunctor.Conjunction

Contents

Synopsis

Conjunctions

class Conj c where Source #

Methods

(>!!<) :: Applicative f => f a -> f b -> f (a `c` b) infixr 3 Source #

exl :: Contravariant k => k a -> k (a `c` b) Source #

exr :: Contravariant k => k b -> k (a `c` b) Source #

Instances

Instances details
Conj (,) Source # 
Instance details

Defined in Data.Bifunctor.Conjunction

Methods

(>!!<) :: Applicative f => f a -> f b -> f (a, b) Source #

exl :: Contravariant k => k a -> k (a, b) Source #

exr :: Contravariant k => k b -> k (a, b) Source #

exlF :: (Functor f, Conj c) => f (a `c` b) -> f a Source #

exrF :: (Functor f, Conj c) => f (a `c` b) -> f b Source #

deMorganConj :: (Contravariant k, Conj c) => Either (k a) (k b) -> k (a `c` b) Source #