expr

Capture an expression

Captures the provided expression as an Expr object without evaluating it. Useful for metaprogramming, quotation, and custom evaluation.

Parameters

Returns

The captured expression object.

Examples

e = expr(1 + 2)
eval(e)