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

Safe HaskellNone

Feldspar.Core.Frontend.Select

Synopsis

Documentation

select :: (Eq a, Syntax b) => Data a -> [(Data a, b)] -> b -> bSource

Select between the cases based on the value of the scrutinee. TODO: This implementation should be replaces by a proper construct