dual-0.1.0.3: Dual category
Control.Category.Dual
newtype Dual k a b Source #
Constructors
Fields
Defined in Control.Category.Dual
Methods
id :: Dual k2 a a #
(.) :: Dual k2 b c -> Dual k2 a b -> Dual k2 a c #
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 #
minBound :: Dual k3 a b #
maxBound :: Dual k3 a b #
(==) :: Dual k3 a b -> Dual k3 a b -> Bool #
(/=) :: Dual k3 a b -> Dual k3 a b -> Bool #
compare :: Dual k3 a b -> Dual k3 a b -> Ordering #
(<) :: Dual k3 a b -> Dual k3 a b -> Bool #
(<=) :: Dual k3 a b -> Dual k3 a b -> Bool #
(>) :: Dual k3 a b -> Dual k3 a b -> Bool #
(>=) :: Dual k3 a b -> Dual k3 a b -> Bool #
max :: Dual k3 a b -> Dual k3 a b -> Dual k3 a b #
min :: Dual k3 a b -> Dual k3 a b -> Dual k3 a b #
readsPrec :: Int -> ReadS (Dual k3 a b) #
readList :: ReadS [Dual k3 a b] #
readPrec :: ReadPrec (Dual k3 a b) #
readListPrec :: ReadPrec [Dual k3 a b] #
showsPrec :: Int -> Dual k3 a b -> ShowS #
show :: Dual k3 a b -> String #
showList :: [Dual k3 a b] -> ShowS #
(<>) :: Dual k3 a b -> Dual k3 a b -> Dual k3 a b #
sconcat :: NonEmpty (Dual k3 a b) -> Dual k3 a b #
stimes :: Integral b0 => b0 -> Dual k3 a b -> Dual k3 a b #
mempty :: Dual k3 a b #
mappend :: Dual k3 a b -> Dual k3 a b -> Dual k3 a b #
mconcat :: [Dual k3 a b] -> Dual k3 a b #