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

Safe HaskellNone

Feldspar.Core.Frontend.Condition

Synopsis

Documentation

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