Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
Instances
Generic1 (These1 f g :: Type -> Type) Source # | |
(Foldable f, Foldable g) => Foldable (These1 f g) Source # | |
Defined in Data.Functor.These fold :: Monoid m => These1 f g m -> m # foldMap :: Monoid m => (a -> m) -> These1 f g a -> m # foldMap' :: Monoid m => (a -> m) -> These1 f g a -> m # foldr :: (a -> b -> b) -> b -> These1 f g a -> b # foldr' :: (a -> b -> b) -> b -> These1 f g a -> b # foldl :: (b -> a -> b) -> b -> These1 f g a -> b # foldl' :: (b -> a -> b) -> b -> These1 f g a -> b # foldr1 :: (a -> a -> a) -> These1 f g a -> a # foldl1 :: (a -> a -> a) -> These1 f g a -> a # toList :: These1 f g a -> [a] # null :: These1 f g a -> Bool # length :: These1 f g a -> Int # elem :: Eq a => a -> These1 f g a -> Bool # maximum :: Ord a => These1 f g a -> a # minimum :: Ord a => These1 f g a -> a # | |
(Eq1 f, Eq1 g) => Eq1 (These1 f g) Source # | |
(Ord1 f, Ord1 g) => Ord1 (These1 f g) Source # | |
Defined in Data.Functor.These | |
(Read1 f, Read1 g) => Read1 (These1 f g) Source # | |
Defined in Data.Functor.These | |
(Show1 f, Show1 g) => Show1 (These1 f g) Source # | |
(Traversable f, Traversable g) => Traversable (These1 f g) Source # | |
Defined in Data.Functor.These | |
(Functor f, Functor g) => Functor (These1 f g) Source # | |
(NFData1 f, NFData1 g) => NFData1 (These1 f g) Source # | This instance is available only with |
Defined in Data.Functor.These | |
(Foldable1 f, Foldable1 g) => Foldable1 (These1 f g) Source # | Since: 1.2 |
Defined in Data.Functor.These fold1 :: Semigroup m => These1 f g m -> m # foldMap1 :: Semigroup m => (a -> m) -> These1 f g a -> m # foldMap1' :: Semigroup m => (a -> m) -> These1 f g a -> m # toNonEmpty :: These1 f g a -> NonEmpty a # maximum :: Ord a => These1 f g a -> a # minimum :: Ord a => These1 f g a -> a # foldrMap1 :: (a -> b) -> (a -> b -> b) -> These1 f g a -> b # foldlMap1' :: (a -> b) -> (b -> a -> b) -> These1 f g a -> b # foldlMap1 :: (a -> b) -> (b -> a -> b) -> These1 f g a -> b # foldrMap1' :: (a -> b) -> (a -> b -> b) -> These1 f g a -> b # | |
(Typeable f, Typeable g, Typeable a, Data (f a), Data (g a)) => Data (These1 f g a) Source # | |
Defined in Data.Functor.These gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g0. g0 -> c g0) -> These1 f g a -> c (These1 f g a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (These1 f g a) # toConstr :: These1 f g a -> Constr # dataTypeOf :: These1 f g a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (These1 f g a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (These1 f g a)) # gmapT :: (forall b. Data b => b -> b) -> These1 f g a -> These1 f g a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> These1 f g a -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> These1 f g a -> r # gmapQ :: (forall d. Data d => d -> u) -> These1 f g a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> These1 f g a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> These1 f g a -> m (These1 f g a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> These1 f g a -> m (These1 f g a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> These1 f g a -> m (These1 f g a) # | |
Generic (These1 f g a) Source # | |
(Read (f a), Read (g a), Read a) => Read (These1 f g a) Source # | |
(Show (f a), Show (g a), Show a) => Show (These1 f g a) Source # | |
(NFData (f a), NFData (g a), NFData a) => NFData (These1 f g a) Source # | Available always Since: 1.2 |
Defined in Data.Functor.These | |
(Eq (f a), Eq (g a), Eq a) => Eq (These1 f g a) Source # | |
(Ord (f a), Ord (g a), Ord a) => Ord (These1 f g a) Source # | |
Defined in Data.Functor.These | |
type Rep1 (These1 f g :: Type -> Type) Source # | |
Defined in Data.Functor.These type Rep1 (These1 f g :: Type -> Type) = D1 ('MetaData "These1" "Data.Functor.These" "these-1.2-Jr6qnJVBizCLk0V3EvITzj" 'False) (C1 ('MetaCons "This1" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec1 f)) :+: (C1 ('MetaCons "That1" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec1 g)) :+: C1 ('MetaCons "These1" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec1 f) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec1 g)))) | |
type Rep (These1 f g a) Source # | |
Defined in Data.Functor.These type Rep (These1 f g a) = D1 ('MetaData "These1" "Data.Functor.These" "these-1.2-Jr6qnJVBizCLk0V3EvITzj" 'False) (C1 ('MetaCons "This1" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f a))) :+: (C1 ('MetaCons "That1" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (g a))) :+: C1 ('MetaCons "These1" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f a)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (g a))))) |