EchoFunction[f][expr]
prints f[expr] and returns expr.
EchoFunction[label,f][expr]
prints f[expr] prepending label and returns expr.


EchoFunction
EchoFunction[f][expr]
prints f[expr] and returns expr.
EchoFunction[label,f][expr]
prints f[expr] prepending label and returns expr.
Details

- EchoFunction is an operator form of Echo.
- EchoFunction[][expr] prints expr and returns expr. It is equivalent to Echo[expr].
Examples
open all close allProperties & Relations (5)
EchoFunction is an operator form of Echo:
EchoFunction gives priority to the function:
Echo and EchoLabel give priority to the label:
EchoTiming can be used to print the timing of intermediate computations without affecting the result:
EchoFunction can also be used to print the timing, but at the cost of doing the computation twice:
EchoFunction is disabled inside QuietEcho:
See Also
EchoLabel Echo QuietEcho EchoTiming EchoEvaluation Print TracePrint Sow
Function Repository: EchoPerformance
Related Guides
Related Workflows
- Print Intermediate Values of a Variable
History
Text
Wolfram Research (2015), EchoFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/EchoFunction.html.
CMS
Wolfram Language. 2015. "EchoFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EchoFunction.html.
APA
Wolfram Language. (2015). EchoFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EchoFunction.html
BibTeX
@misc{reference.wolfram_2025_echofunction, author="Wolfram Research", title="{EchoFunction}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/EchoFunction.html}", note=[Accessed: 13-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_echofunction, organization={Wolfram Research}, title={EchoFunction}, year={2015}, url={https://reference.wolfram.com/language/ref/EchoFunction.html}, note=[Accessed: 13-August-2025]}