| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Control.Effect.Scope
Documentation
class MemberEffect Scope (Scope t s) l => ScopeEffect t s l
Instances
| MemberEffect (ScopeType * -> * -> * -> *) Scope (Scope t s) l => ScopeEffect t s l |
scope :: ScopeEffect t s l => (forall s'. Effect (Scope t s :- (Scope (Slave s) s' :+ l)) a) -> Effect l a
reset :: ScopeEffect t s l => (forall s'. Effect (Scope t s :- (Scope Master s' :+ l)) a) -> Effect l a
data Scoped s
newScoped :: ScopeEffect t s l => Effect l (Scoped s)
withScoped :: ScopeEffect t s l => Scoped s -> Effect l a -> Effect l a