dual-0.1.0.1: Dual category
Control.Category.Dual
newtype Dual k a b Source #
Constructors
Fields
Defined in Control.Category.Dual
Methods
bitraverse :: Applicative f => (a -> f c) -> (b -> f d) -> Dual k a b -> f (Dual k c d) #
bifold :: Monoid m => Dual k m m -> m #
bifoldMap :: Monoid m => (a -> m) -> (b -> m) -> Dual k a b -> m #
bifoldr :: (a -> c -> c) -> (b -> c -> c) -> c -> Dual k a b -> c #
bifoldl :: (c -> a -> c) -> (c -> b -> c) -> c -> Dual k a b -> c #
bimap :: (a -> b) -> (c -> d) -> Dual k a c -> Dual k b d #
first :: (a -> b) -> Dual k a c -> Dual k b c #
second :: (b -> c) -> Dual k a b -> Dual k a c #
liftEq2 :: (a -> b -> Bool) -> (c -> d -> Bool) -> Dual k a c -> Dual k b d -> Bool #
liftCompare2 :: (a -> b -> Ordering) -> (c -> d -> Ordering) -> Dual k a c -> Dual k b d -> Ordering #
liftReadsPrec2 :: (Int -> ReadS a) -> ReadS [a] -> (Int -> ReadS b) -> ReadS [b] -> Int -> ReadS (Dual k a b) #
liftReadList2 :: (Int -> ReadS a) -> ReadS [a] -> (Int -> ReadS b) -> ReadS [b] -> ReadS [Dual k a b] #
liftReadPrec2 :: ReadPrec a -> ReadPrec [a] -> ReadPrec b -> ReadPrec [b] -> ReadPrec (Dual k a b) #
liftReadListPrec2 :: ReadPrec a -> ReadPrec [a] -> ReadPrec b -> ReadPrec [b] -> ReadPrec [Dual k a b] #
liftShowsPrec2 :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> (Int -> b -> ShowS) -> ([b] -> ShowS) -> Int -> Dual k a b -> ShowS #
liftShowList2 :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> (Int -> b -> ShowS) -> ([b] -> ShowS) -> [Dual k a b] -> ShowS #
id :: Dual k a a #
(.) :: Dual k b c -> Dual k a b -> Dual k a c #
minBound :: Dual k a b #
maxBound :: Dual k a b #
(==) :: Dual k a b -> Dual k a b -> Bool #
(/=) :: Dual k a b -> Dual k a b -> Bool #
compare :: Dual k a b -> Dual k a b -> Ordering #
(<) :: Dual k a b -> Dual k a b -> Bool #
(<=) :: Dual k a b -> Dual k a b -> Bool #
(>) :: Dual k a b -> Dual k a b -> Bool #
(>=) :: Dual k a b -> Dual k a b -> Bool #
max :: Dual k a b -> Dual k a b -> Dual k a b #
min :: Dual k a b -> Dual k a b -> Dual k a b #
readsPrec :: Int -> ReadS (Dual k a b) #
readList :: ReadS [Dual k a b] #
readPrec :: ReadPrec (Dual k a b) #
readListPrec :: ReadPrec [Dual k a b] #
showsPrec :: Int -> Dual k a b -> ShowS #
show :: Dual k a b -> String #
showList :: [Dual k a b] -> ShowS #
(<>) :: Dual k a b -> Dual k a b -> Dual k a b #
sconcat :: NonEmpty (Dual k a b) -> Dual k a b #
stimes :: Integral b0 => b0 -> Dual k a b -> Dual k a b #
mempty :: Dual k a b #
mappend :: Dual k a b -> Dual k a b -> Dual k a b #
mconcat :: [Dual k a b] -> Dual k a b #