HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

Modulepolysemy-1.9.2.0Haskell2010

Polysemy.Bundle

Contents
  1. Effect
  2. Actions
  3. Interpretations
  4. Miscellaneous
Synopsis
  • Packagepolysemy-1.9.2.0
  • Exports5
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceBundle.hs

Effect

datadata Bundle (r :: [k -> k1 -> Type]) (m :: k) (a :: k1) where

An effect for collecting multiple effects into one effect.

Useful for effect newtypes -- effects defined through creating a newtype over an existing effect, and then defining actions and interpretations on the newtype by using rewrite and transform.

By making a newtype of Bundle, it's possible to wrap multiple effects in one newtype.

Constructors

Actions

Interpretations

Miscellaneous