Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
newtype Flip1 t a b c Source #
Swaps the order of parameters. Flip1
is like Flip
but has
an additional parameter.
newtype Flip1 t a b c = Flip1 {unFlip1 :: t b a c}
Instances
(Functor h, MonadFree h (t g f)) => MonadFree h (Flip1 t f g) Source # | |
Defined in Data.Functor.Flip1 | |
Functor g => FFunctor (Flip1 ApT g) Source # | |
Applicative g => FMonad (Flip1 ApT g) Source # | |
MonadFail (t b a) => MonadFail (Flip1 t a b) Source # | |
Defined in Data.Functor.Flip1 | |
Foldable (t b a) => Foldable (Flip1 t a b) Source # | |
Defined in Data.Functor.Flip1 fold :: Monoid m => Flip1 t a b m -> m # foldMap :: Monoid m => (a0 -> m) -> Flip1 t a b a0 -> m # foldMap' :: Monoid m => (a0 -> m) -> Flip1 t a b a0 -> m # foldr :: (a0 -> b0 -> b0) -> b0 -> Flip1 t a b a0 -> b0 # foldr' :: (a0 -> b0 -> b0) -> b0 -> Flip1 t a b a0 -> b0 # foldl :: (b0 -> a0 -> b0) -> b0 -> Flip1 t a b a0 -> b0 # foldl' :: (b0 -> a0 -> b0) -> b0 -> Flip1 t a b a0 -> b0 # foldr1 :: (a0 -> a0 -> a0) -> Flip1 t a b a0 -> a0 # foldl1 :: (a0 -> a0 -> a0) -> Flip1 t a b a0 -> a0 # toList :: Flip1 t a b a0 -> [a0] # null :: Flip1 t a b a0 -> Bool # length :: Flip1 t a b a0 -> Int # elem :: Eq a0 => a0 -> Flip1 t a b a0 -> Bool # maximum :: Ord a0 => Flip1 t a b a0 -> a0 # minimum :: Ord a0 => Flip1 t a b a0 -> a0 # | |
Eq1 (t b a) => Eq1 (Flip1 t a b) Source # | |
Ord1 (t b a) => Ord1 (Flip1 t a b) Source # | |
Defined in Data.Functor.Flip1 | |
(forall c. Read c => Read (t b a c), forall x y. Coercible x y => Coercible (t b a x) (t b a y)) => Read1 (Flip1 t a b) Source # | |
Defined in Data.Functor.Flip1 liftReadsPrec :: (Int -> ReadS a0) -> ReadS [a0] -> Int -> ReadS (Flip1 t a b a0) # liftReadList :: (Int -> ReadS a0) -> ReadS [a0] -> ReadS [Flip1 t a b a0] # liftReadPrec :: ReadPrec a0 -> ReadPrec [a0] -> ReadPrec (Flip1 t a b a0) # liftReadListPrec :: ReadPrec a0 -> ReadPrec [a0] -> ReadPrec [Flip1 t a b a0] # | |
(forall c. Show c => Show (t b a c), forall x y. Coercible x y => Coercible (t b a x) (t b a y)) => Show1 (Flip1 t a b) Source # | |
Traversable (t b a) => Traversable (Flip1 t a b) Source # | |
Defined in Data.Functor.Flip1 | |
Alternative (t b a) => Alternative (Flip1 t a b) Source # | |
Applicative (t b a) => Applicative (Flip1 t a b) Source # | |
Defined in Data.Functor.Flip1 | |
Functor (t b a) => Functor (Flip1 t a b) Source # | |
Monad (t b a) => Monad (Flip1 t a b) Source # | |
MonadPlus (t b a) => MonadPlus (Flip1 t a b) Source # | |
Read (t b a c) => Read (Flip1 t a b c) Source # | |
Show (t b a c) => Show (Flip1 t a b c) Source # | |
Eq (t b a c) => Eq (Flip1 t a b c) Source # | |
Ord (t b a c) => Ord (Flip1 t a b c) Source # | |
Defined in Data.Functor.Flip1 compare :: Flip1 t a b c -> Flip1 t a b c -> Ordering # (<) :: Flip1 t a b c -> Flip1 t a b c -> Bool # (<=) :: Flip1 t a b c -> Flip1 t a b c -> Bool # (>) :: Flip1 t a b c -> Flip1 t a b c -> Bool # (>=) :: Flip1 t a b c -> Flip1 t a b c -> Bool # |