Feldspar.Core.Frontend.MutableToPure

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

Safe Haskell | None

Feldspar.Core.Frontend.MutableToPure

# Documentation

withArray :: (Type a, Syntax b) => Data (MArr a) -> (Data [a] -> M b) -> M b

runMutableArray :: Type a => M (Data (MArr a)) -> Data [a]

freezeArray :: Type a => Data (MArr a) -> M (Data [a])

thawArray :: Type a => Data [a] -> M (Data (MArr a))