polysemy-conc-0.14.1.1: Polysemy effects for concurrency
Safe HaskellNone
LanguageGHC2021

Polysemy.Conc.Interpreter.Stack

Description

 
Synopsis

Documentation

type ConcStack = '[UninterruptibleMask, Mask, Gates, Race, Async, Resource, Embed IO, Final IO] Source #

A default basic stack with Final for _polysemy-conc_.

runConc :: Sem ConcStack a -> IO a Source #

Interprets UninterruptibleMask, Mask and Race in terms of Final IO and runs the entire rest of the stack.