query
On this page

trace

builtins.trace

Primop
Docs pulled from | This Revision | 27 minutes ago

Takes 2 arguments

e1, e2


Evaluate e1 and print its abstract syntax representation on standard error. Then return e2. This function is useful for debugging.

This function is not defined in a .nix file. It is likely a builtins function or an alias of a builtins function. builtins functions are predefined functions provided by Nix.

Noogle detected

Aliases

Detected Type
trace :: a -> b -> b

Implementation

This function is implemented in c++ and is part of the native nix runtime.