feldspar-language-0.7: A functional embedded language for DSP and parallelism

Safe HaskellNone
LanguageHaskell2010

Feldspar.Core.Frontend.Mutable

Documentation

newtype M a Source

Constructors

M 

Fields

unM :: Mon FeldDomain Mut a
 

Instances

Monad M 
Functor M 
Applicative M 
Syntax a => Syntactic (M a) 
type Internal (M a) = Mut (Internal a) 
type Domain (M a) = FeldDomain 

runMutable :: Syntax a => M a -> a Source

when :: Data Bool -> M () -> M () Source

unless :: Data Bool -> M () -> M () Source