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

Safe HaskellNone
LanguageHaskell2010

Feldspar.Core.Frontend.Loop

Documentation

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

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

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

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