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

Safe HaskellNone
LanguageHaskell2010

Feldspar.Core.Frontend.Trace

Description

Tracing execution of Feldspar expressions

Synopsis

Documentation

trace :: Numeric a => Int -> Data a -> Data a Source

Tracing execution of an expression. Semantically, this is the identity function, but a back end may treat this function specially, for example write its arguments to a log.