feldspar-language-0.7: A functional embedded language for DSP and parallelism
Feldspar.Core.Frontend.MutableReference
newtype Ref a Source
Constructors
Fields
Instances
newRef :: Syntax a => a -> M (Ref a)Source
getRef :: Syntax a => Ref a -> M aSource
setRef :: Syntax a => Ref a -> a -> M ()Source
modifyRef :: Syntax a => Ref a -> (a -> a) -> M ()Source