pass +transformers
pass m is an action that executes the action m, which returns a value and a function, and returns the value, applying the function to the output.
* (pass m) r s = liftM (\((a, f),
> w) -> (a, f w)) (runRWST m r
pass m is an action that executes the action m, which returns a value and a function, and returns the value, applying the function to the output.
* (pass m) = liftM (\((a, f),
> w) -> (a, f w)) (runWriterT
Lift a pass operation to the new monad.
Lift a pass operation to the new monad.
Lift a pass operation to the new monad.