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

Safe Haskell | None

Feldspar.Core.Frontend.Loop

# Documentation

forLoop :: Syntax a => Data Length -> a -> (Data Index -> a -> a) -> a

whileLoop :: Syntax a => a -> (a -> Data Bool) -> (a -> a) -> a

forM :: Syntax a => Data Length -> (Data Index -> M a) -> M ()

whileM :: Syntax a => M (Data Bool) -> M a -> M ()