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

Safe HaskellNone

Feldspar.Core.Frontend.Error

Synopsis

Documentation

assertMsg :: Syntax a => String -> Data Bool -> a -> aSource

Assert that the condition holds or fail with message

assert :: Syntax a => Data Bool -> a -> aSource

Assert that the condition holds, the conditions string representation is used as the message

err :: Syntax a => String -> aSource