feldspar-language-0.7: A functional embedded language for DSP and parallelism
Feldspar.Core.Frontend.Loop
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