Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Data.Functor.Base
Description
Base Functors for standard types not already expressed as a fixed point.
Documentation
Base Functor for NonEmpty
Instances
Show2 NonEmptyF Source # | |
Defined in Data.Functor.Base Methods liftShowsPrec2 :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> (Int -> b -> ShowS) -> ([b] -> ShowS) -> Int -> NonEmptyF a b -> ShowS liftShowList2 :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> (Int -> b -> ShowS) -> ([b] -> ShowS) -> [NonEmptyF a b] -> ShowS | |
Read2 NonEmptyF Source # | |
Defined in Data.Functor.Base Methods liftReadsPrec2 :: (Int -> ReadS a) -> ReadS [a] -> (Int -> ReadS b) -> ReadS [b] -> Int -> ReadS (NonEmptyF a b) liftReadList2 :: (Int -> ReadS a) -> ReadS [a] -> (Int -> ReadS b) -> ReadS [b] -> ReadS [NonEmptyF a b] liftReadPrec2 :: ReadPrec a -> ReadPrec [a] -> ReadPrec b -> ReadPrec [b] -> ReadPrec (NonEmptyF a b) liftReadListPrec2 :: ReadPrec a -> ReadPrec [a] -> ReadPrec b -> ReadPrec [b] -> ReadPrec [NonEmptyF a b] | |
Ord2 NonEmptyF Source # | |
Defined in Data.Functor.Base Methods liftCompare2 :: (a -> b -> Ordering) -> (c -> d -> Ordering) -> NonEmptyF a c -> NonEmptyF b d -> Ordering | |
Eq2 NonEmptyF Source # | |
Defined in Data.Functor.Base | |
Bifunctor NonEmptyF Source # | |
Bifoldable NonEmptyF Source # | |
Bitraversable NonEmptyF Source # | |
Defined in Data.Functor.Base Methods bitraverse :: Applicative f => (a -> f c) -> (b -> f d) -> NonEmptyF a b -> f (NonEmptyF c d) | |
Functor (NonEmptyF a) Source # | |
Foldable (NonEmptyF a) Source # | |
Defined in Data.Functor.Base Methods fold :: Monoid m => NonEmptyF a m -> m foldMap :: Monoid m => (a0 -> m) -> NonEmptyF a a0 -> m foldMap' :: Monoid m => (a0 -> m) -> NonEmptyF a a0 -> m foldr :: (a0 -> b -> b) -> b -> NonEmptyF a a0 -> b foldr' :: (a0 -> b -> b) -> b -> NonEmptyF a a0 -> b foldl :: (b -> a0 -> b) -> b -> NonEmptyF a a0 -> b foldl' :: (b -> a0 -> b) -> b -> NonEmptyF a a0 -> b foldr1 :: (a0 -> a0 -> a0) -> NonEmptyF a a0 -> a0 foldl1 :: (a0 -> a0 -> a0) -> NonEmptyF a a0 -> a0 toList :: NonEmptyF a a0 -> [a0] null :: NonEmptyF a a0 -> Bool length :: NonEmptyF a a0 -> Int elem :: Eq a0 => a0 -> NonEmptyF a a0 -> Bool maximum :: Ord a0 => NonEmptyF a a0 -> a0 minimum :: Ord a0 => NonEmptyF a a0 -> a0 | |
Traversable (NonEmptyF a) Source # | |
Defined in Data.Functor.Base | |
Show a => Show1 (NonEmptyF a) Source # | |
Defined in Data.Functor.Base Methods liftShowsPrec :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> Int -> NonEmptyF a a0 -> ShowS liftShowList :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> [NonEmptyF a a0] -> ShowS | |
Read a => Read1 (NonEmptyF a) Source # | |
Defined in Data.Functor.Base Methods liftReadsPrec :: (Int -> ReadS a0) -> ReadS [a0] -> Int -> ReadS (NonEmptyF a a0) liftReadList :: (Int -> ReadS a0) -> ReadS [a0] -> ReadS [NonEmptyF a a0] liftReadPrec :: ReadPrec a0 -> ReadPrec [a0] -> ReadPrec (NonEmptyF a a0) liftReadListPrec :: ReadPrec a0 -> ReadPrec [a0] -> ReadPrec [NonEmptyF a a0] | |
Ord a => Ord1 (NonEmptyF a) Source # | |
Defined in Data.Functor.Base Methods liftCompare :: (a0 -> b -> Ordering) -> NonEmptyF a a0 -> NonEmptyF a b -> Ordering | |
Eq a => Eq1 (NonEmptyF a) Source # | |
Defined in Data.Functor.Base | |
Generic1 (NonEmptyF a :: Type -> Type) Source # | |
(Eq a, Eq b) => Eq (NonEmptyF a b) Source # | |
(Ord a, Ord b) => Ord (NonEmptyF a b) Source # | |
Defined in Data.Functor.Base | |
(Read a, Read b) => Read (NonEmptyF a b) Source # | |
Defined in Data.Functor.Base | |
(Show a, Show b) => Show (NonEmptyF a b) Source # | |
Generic (NonEmptyF a b) Source # | |
type Rep1 (NonEmptyF a :: Type -> Type) Source # | |
Defined in Data.Functor.Base type Rep1 (NonEmptyF a :: Type -> Type) = D1 ('MetaData "NonEmptyF" "Data.Functor.Base" "recursion-schemes-5.1.3-CVeobdxg5ASJKaRgTNLeul" 'False) (C1 ('MetaCons "NonEmptyF" 'PrefixI 'True) (S1 ('MetaSel ('Just "head") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Just "tail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec1 Maybe))) | |
type Rep (NonEmptyF a b) Source # | |
Defined in Data.Functor.Base type Rep (NonEmptyF a b) = D1 ('MetaData "NonEmptyF" "Data.Functor.Base" "recursion-schemes-5.1.3-CVeobdxg5ASJKaRgTNLeul" 'False) (C1 ('MetaCons "NonEmptyF" 'PrefixI 'True) (S1 ('MetaSel ('Just "head") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Just "tail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe b)))) |