purescript-transformers icon indicating copy to clipboard operation
purescript-transformers copied to clipboard

Monad and comonad transformers

Results 12 purescript-transformers issues
Sort by recently updated
recently updated
newest added

**Description of the change** Resolves #146. --- **Checklist:** - [x] Added the change to the changelog's "Unreleased" section with a reference to this PR (e.g. "- Made a change (#0000)")...

What do we think about adding a dependency on `purescript-st` and giving [`MonadST`](https://pursuit.purescript.org/packages/purescript-st/6.2.0/docs/Control.Monad.ST.Class#t:MonadST) instances to all the transformers?

**Description of the change** Adds `ComonadAsk`, `ComonadEnv`, and `ComonadTraced` instances for `StoreT`, `EnvT`, and `TracedT` Closes #35 --- **Checklist:** - [x] Added the change to the changelog's "Unreleased" section with...

The law for MonadAsk `ask >>= \_ -> ask = ask` only requires Applicative `ask *> ask = ask`. You can't execute effects depending on the environment, but you can...

type: breaking change

What kind of effect-sequencing behavior is `ListT` supposed to exhibit? I ask because in haskell, `ListT m a` is a newtype wrapper of `m [a]`, and if purescript's `ListT` is...

type: documentation

`maybeToExceptT` seems like a useful feature. `maybeT2ExceptT :: Functor m => e -> MaybeT m a -> ExceptT e m a ` and `maybe2ExceptT :: e -> Maybe a ->...

type: enhancement

`StateT's` `catchError` doesn't take into account that the state can change in the call to is first parameter: ```haskell instance monadErrorStateT :: MonadError e m => MonadError e (StateT s...

type: documentation