| Alt Identity Source # | Choose the first option every time. While 'choose the last option' every
time is also valid, this instance satisfies more laws. Since: 5.3.6 |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: Identity a -> Identity a -> Identity a Source # some :: Applicative Identity => Identity a -> Identity [a] Source # many :: Applicative Identity => Identity a -> Identity [a] Source # |
| Alt First Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: First a -> First a -> First a Source # some :: Applicative First => First a -> First [a] Source # many :: Applicative First => First a -> First [a] Source # |
| Alt Last Source # | |
Instance detailsDefined in Data.Functor.Alt |
| Alt First Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: First a -> First a -> First a Source # some :: Applicative First => First a -> First [a] Source # many :: Applicative First => First a -> First [a] Source # |
| Alt Last Source # | |
Instance detailsDefined in Data.Functor.Alt |
| Alt IntMap Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: IntMap a -> IntMap a -> IntMap a Source # some :: Applicative IntMap => IntMap a -> IntMap [a] Source # many :: Applicative IntMap => IntMap a -> IntMap [a] Source # |
| Alt Seq Source # | |
Instance detailsDefined in Data.Functor.Alt |
| Alt IO Source # | This instance does not actually satisfy the (<.>) right distributive law
It instead satisfies the "left catch" law |
Instance detailsDefined in Data.Functor.Alt |
| Alt NonEmpty Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: NonEmpty a -> NonEmpty a -> NonEmpty a Source # some :: Applicative NonEmpty => NonEmpty a -> NonEmpty [a] Source # many :: Applicative NonEmpty => NonEmpty a -> NonEmpty [a] Source # |
| Alt Maybe Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: Maybe a -> Maybe a -> Maybe a Source # some :: Applicative Maybe => Maybe a -> Maybe [a] Source # many :: Applicative Maybe => Maybe a -> Maybe [a] Source # |
| Alt [] Source # | |
Instance detailsDefined in Data.Functor.Alt |
| MonadPlus m => Alt (WrappedMonad m) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: WrappedMonad m a -> WrappedMonad m a -> WrappedMonad m a Source # some :: Applicative (WrappedMonad m) => WrappedMonad m a -> WrappedMonad m [a] Source # many :: Applicative (WrappedMonad m) => WrappedMonad m a -> WrappedMonad m [a] Source # |
| Alt (Either a) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: Either a a0 -> Either a a0 -> Either a a0 Source # some :: Applicative (Either a) => Either a a0 -> Either a [a0] Source # many :: Applicative (Either a) => Either a a0 -> Either a [a0] Source # |
| Alt (Proxy :: Type -> Type) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: Proxy a -> Proxy a -> Proxy a Source # some :: Applicative Proxy => Proxy a -> Proxy [a] Source # many :: Applicative Proxy => Proxy a -> Proxy [a] Source # |
| Alt (U1 :: Type -> Type) Source # | |
Instance detailsDefined in Data.Functor.Alt |
| Alt (V1 :: Type -> Type) Source # | |
Instance detailsDefined in Data.Functor.Alt |
| Ord k => Alt (Map k) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: Map k a -> Map k a -> Map k a Source # some :: Applicative (Map k) => Map k a -> Map k [a] Source # many :: Applicative (Map k) => Map k a -> Map k [a] Source # |
| Alternative f => Alt (WrappedApplicative f) Source # | |
Instance detailsDefined in Data.Functor.Alt |
| Alt f => Alt (Lift f) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: Lift f a -> Lift f a -> Lift f a Source # some :: Applicative (Lift f) => Lift f a -> Lift f [a] Source # many :: Applicative (Lift f) => Lift f a -> Lift f [a] Source # |
| Apply f => Alt (ListT f) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: ListT f a -> ListT f a -> ListT f a Source # some :: Applicative (ListT f) => ListT f a -> ListT f [a] Source # many :: Applicative (ListT f) => ListT f a -> ListT f [a] Source # |
| (Functor f, Monad f) => Alt (MaybeT f) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: MaybeT f a -> MaybeT f a -> MaybeT f a Source # some :: Applicative (MaybeT f) => MaybeT f a -> MaybeT f [a] Source # many :: Applicative (MaybeT f) => MaybeT f a -> MaybeT f [a] Source # |
| (Hashable k, Eq k) => Alt (HashMap k) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: HashMap k a -> HashMap k a -> HashMap k a Source # some :: Applicative (HashMap k) => HashMap k a -> HashMap k [a] Source # many :: Applicative (HashMap k) => HashMap k a -> HashMap k [a] Source # |
| ArrowPlus a => Alt (WrappedArrow a b) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: WrappedArrow a b a0 -> WrappedArrow a b a0 -> WrappedArrow a b a0 Source # some :: Applicative (WrappedArrow a b) => WrappedArrow a b a0 -> WrappedArrow a b [a0] Source # many :: Applicative (WrappedArrow a b) => WrappedArrow a b a0 -> WrappedArrow a b [a0] Source # |
| Alt f => Alt (Rec1 f) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: Rec1 f a -> Rec1 f a -> Rec1 f a Source # some :: Applicative (Rec1 f) => Rec1 f a -> Rec1 f [a] Source # many :: Applicative (Rec1 f) => Rec1 f a -> Rec1 f [a] Source # |
| Alt f => Alt (Static f a) Source # | |
Instance detailsDefined in Data.Semigroupoid.Static |
| Alt f => Alt (Backwards f) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: Backwards f a -> Backwards f a -> Backwards f a Source # some :: Applicative (Backwards f) => Backwards f a -> Backwards f [a] Source # many :: Applicative (Backwards f) => Backwards f a -> Backwards f [a] Source # |
| (Functor f, Monad f) => Alt (ErrorT e f) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: ErrorT e f a -> ErrorT e f a -> ErrorT e f a Source # some :: Applicative (ErrorT e f) => ErrorT e f a -> ErrorT e f [a] Source # many :: Applicative (ErrorT e f) => ErrorT e f a -> ErrorT e f [a] Source # |
| (Functor f, Monad f, Semigroup e) => Alt (ExceptT e f) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: ExceptT e f a -> ExceptT e f a -> ExceptT e f a Source # some :: Applicative (ExceptT e f) => ExceptT e f a -> ExceptT e f [a] Source # many :: Applicative (ExceptT e f) => ExceptT e f a -> ExceptT e f [a] Source # |
| Alt f => Alt (IdentityT f) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: IdentityT f a -> IdentityT f a -> IdentityT f a Source # some :: Applicative (IdentityT f) => IdentityT f a -> IdentityT f [a] Source # many :: Applicative (IdentityT f) => IdentityT f a -> IdentityT f [a] Source # |
| Alt f => Alt (ReaderT e f) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: ReaderT e f a -> ReaderT e f a -> ReaderT e f a Source # some :: Applicative (ReaderT e f) => ReaderT e f a -> ReaderT e f [a] Source # many :: Applicative (ReaderT e f) => ReaderT e f a -> ReaderT e f [a] Source # |
| Alt f => Alt (StateT e f) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: StateT e f a -> StateT e f a -> StateT e f a Source # some :: Applicative (StateT e f) => StateT e f a -> StateT e f [a] Source # many :: Applicative (StateT e f) => StateT e f a -> StateT e f [a] Source # |
| Alt f => Alt (StateT e f) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: StateT e f a -> StateT e f a -> StateT e f a Source # some :: Applicative (StateT e f) => StateT e f a -> StateT e f [a] Source # many :: Applicative (StateT e f) => StateT e f a -> StateT e f [a] Source # |
| Alt f => Alt (WriterT w f) Source # | Since: 5.3.6 |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: WriterT w f a -> WriterT w f a -> WriterT w f a Source # some :: Applicative (WriterT w f) => WriterT w f a -> WriterT w f [a] Source # many :: Applicative (WriterT w f) => WriterT w f a -> WriterT w f [a] Source # |
| Alt f => Alt (WriterT w f) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: WriterT w f a -> WriterT w f a -> WriterT w f a Source # some :: Applicative (WriterT w f) => WriterT w f a -> WriterT w f [a] Source # many :: Applicative (WriterT w f) => WriterT w f a -> WriterT w f [a] Source # |
| Alt f => Alt (WriterT w f) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: WriterT w f a -> WriterT w f a -> WriterT w f a Source # some :: Applicative (WriterT w f) => WriterT w f a -> WriterT w f [a] Source # many :: Applicative (WriterT w f) => WriterT w f a -> WriterT w f [a] Source # |
| Alt f => Alt (Reverse f) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: Reverse f a -> Reverse f a -> Reverse f a Source # some :: Applicative (Reverse f) => Reverse f a -> Reverse f [a] Source # many :: Applicative (Reverse f) => Reverse f a -> Reverse f [a] Source # |
| (Alt f, Alt g) => Alt (Product f g) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: Product f g a -> Product f g a -> Product f g a Source # some :: Applicative (Product f g) => Product f g a -> Product f g [a] Source # many :: Applicative (Product f g) => Product f g a -> Product f g [a] Source # |
| (Alt f, Alt g) => Alt (f :*: g) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: (f :*: g) a -> (f :*: g) a -> (f :*: g) a Source # some :: Applicative (f :*: g) => (f :*: g) a -> (f :*: g) [a] Source # many :: Applicative (f :*: g) => (f :*: g) a -> (f :*: g) [a] Source # |
| Semigroup c => Alt (K1 i c :: Type -> Type) Source # | since 5.3.8 |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: K1 i c a -> K1 i c a -> K1 i c a Source # some :: Applicative (K1 i c) => K1 i c a -> K1 i c [a] Source # many :: Applicative (K1 i c) => K1 i c a -> K1 i c [a] Source # |
| (Alt f, Functor g) => Alt (Compose f g) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: Compose f g a -> Compose f g a -> Compose f g a Source # some :: Applicative (Compose f g) => Compose f g a -> Compose f g [a] Source # many :: Applicative (Compose f g) => Compose f g a -> Compose f g [a] Source # |
| (Alt f, Functor g) => Alt (f :.: g) Source # | Since: 5.3.8 |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: (f :.: g) a -> (f :.: g) a -> (f :.: g) a Source # some :: Applicative (f :.: g) => (f :.: g) a -> (f :.: g) [a] Source # many :: Applicative (f :.: g) => (f :.: g) a -> (f :.: g) [a] Source # |
| Alt f => Alt (M1 i c f) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: M1 i c f a -> M1 i c f a -> M1 i c f a Source # some :: Applicative (M1 i c f) => M1 i c f a -> M1 i c f [a] Source # many :: Applicative (M1 i c f) => M1 i c f a -> M1 i c f [a] Source # |
| Alt f => Alt (RWST r w s f) Source # | Since: 5.3.6 |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: RWST r w s f a -> RWST r w s f a -> RWST r w s f a Source # some :: Applicative (RWST r w s f) => RWST r w s f a -> RWST r w s f [a] Source # many :: Applicative (RWST r w s f) => RWST r w s f a -> RWST r w s f [a] Source # |
| Alt f => Alt (RWST r w s f) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: RWST r w s f a -> RWST r w s f a -> RWST r w s f a Source # some :: Applicative (RWST r w s f) => RWST r w s f a -> RWST r w s f [a] Source # many :: Applicative (RWST r w s f) => RWST r w s f a -> RWST r w s f [a] Source # |
| Alt f => Alt (RWST r w s f) Source # | |
Instance detailsDefined in Data.Functor.Alt Methods (<!>) :: RWST r w s f a -> RWST r w s f a -> RWST r w s f a Source # some :: Applicative (RWST r w s f) => RWST r w s f a -> RWST r w s f [a] Source # many :: Applicative (RWST r w s f) => RWST r w s f a -> RWST r w s f [a] Source # |