ivory-0.1.0.0: Safe embedded C programming.

Safe HaskellSafe-Inferred

Ivory.Language.Effects

Synopsis

Documentation

data Effects Source

The effect context for Ivory operations.

data ReturnEff Source

Function return effect.

Constructors

forall t . Returns t 
NoReturn 

type family GetReturn effs :: ReturnEffSource

Retrieve any Return effect present.

type family ClearReturn effs :: EffectsSource

Remove any Return effects present.

data BreakEff Source

Loop break effect.

Constructors

Break 
NoBreak 

type family GetBreaks effs :: BreakEffSource

Retrieve any Breaks effect present.

type family AllowBreak effs :: EffectsSource

Add the Break effect into an effect context.

type family ClearBreak effs :: EffectsSource

Remove any Break effect present.

data AllocEff Source

Stack allocation effect.

Constructors

forall s . Scope s 
NoAlloc 

type family GetAlloc effs :: AllocEffSource

Retrieve the current allocation effect.

type family ClearAlloc effs :: EffectsSource

Remove any allocation effect currently present.