feldspar-language-0.7: A functional embedded language for DSP and parallelism
Feldspar.Core.Frontend.Condition
Synopsis
condition :: Syntax a => Data Bool -> a -> a -> a Source
(?) :: Syntax a => Data Bool -> a -> a -> a infixl 1 Source
Condition operator. Use as follows:
cond1 ? ex1 $ cond2 ? ex2 $ cond3 ? ex3 $ exDefault