indexed-transformers-0.1.0.4: Atkey indexed monad transformers
Copyright(C) 2024 Eitan Chatav
LicenseBSD 3-Clause License (see the file LICENSE)
MaintainerEitan Chatav <eitan.chatav@gmail.com>
Safe HaskellSafe-Inferred
LanguageHaskell2010

Control.Monad.Trans.Indexed.Do

Description

Qualified Indexed.do notation.

>>> :set -XQualifiedDo
>>> import qualified Control.Monad.Trans.Indexed.Do as Indexed
Synopsis

Documentation

(>>=) :: (IxMonadTrans t, Monad m) => t i j m x -> (x -> t j k m y) -> t i k m y Source #

(>>) :: (IxMonadTrans t, Monad m) => t i j m x -> t j k m y -> t i k m y Source #

return :: Monad m => a -> m a #

Inject a value into the monadic type.

fail :: (IxMonadTrans t, MonadFail m, i ~ j) => String -> t i j m x Source #