Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
An effect is either request or perform
Synopsis
- data Effect (up :: k -> Type) (action :: k -> Type) (product :: k)
- alterRequest :: (up product -> Effect up' action product) -> Effect up action product -> Effect up' action product
- alterPerform :: (action product -> Effect up action' product) -> Effect up action product -> Effect up action' product
- alterRequest' :: (up product -> up' product) -> Effect up action product -> Effect up' action product
- alterPerform' :: (action product -> action' product) -> Effect up action product -> Effect up action' product