contramapInput Map an Input contravariantly.
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Modulepolysemy-extra-0.2.1.0Haskell2010
Extra convenience functions for polysemy.
contramapInput Map an Input contravariantly.
contramapInputSem Map an Input contravariantly through a monadic function. @since 0.1.0.0
contramapInput' Reinterpreting version of contramapInput.
Like runInputConst, except with a type parameter for the functor for abusing type applications.
mapOutput Map an Output covariantly.
mapOutputSem Map an Output covariantly through a monadic function.
mapOutput' Reinterpreting version of mapOutput.
Like raise, but introduces an effect four levels underneath the head of the list.
reinterpretUnder Reinterpret the second effect in the stack into a single effect.
reinterpretUnder2 Reinterpret the third effect in the stack into a single effect.
reinterpret2Under Reinterpret the second effect in the stack in terms of two effects.
Swap the positions of the first two effects in the stack.
Rotate the first three effects in the stack to the left.
Rotate the first three effects in the stack to the right.
Rotate the first four effects in the stack to the left.
Rotate the first four effects in the stack to the right.
Reverse the position of the first two effects in the stack, equivalent to rotateEffects2.
Reverse the position of the first three effects in the stack.
Reverse the position of the first four effects in the stack.