HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

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