HoldRest

HoldRest

is an attribute which specifies that all but the first argument to a function are to be maintained in an unevaluated form.

Examples

open allclose all

Basic Examples  (2)

Applications  (1)

Implement your own conditional:

Properties & Relations  (4)

Use Evaluate to force evaluation of an argument of a HoldRest function:

Suppress the evaluation of all but the first argument of a pure function:

Sequence splitting still happens for HoldRest functions:

NHoldRest protects arguments from N, but evaluates them normally otherwise:

Introduced in 1988
 (1.0)