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