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:

Wolfram Research (1988), HoldRest, Wolfram Language function, https://reference.wolfram.com/language/ref/HoldRest.html.

Text

Wolfram Research (1988), HoldRest, Wolfram Language function, https://reference.wolfram.com/language/ref/HoldRest.html.

CMS

Wolfram Language. 1988. "HoldRest." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/HoldRest.html.

APA

Wolfram Language. (1988). HoldRest. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/HoldRest.html

BibTeX

@misc{reference.wolfram_2023_holdrest, author="Wolfram Research", title="{HoldRest}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/HoldRest.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_holdrest, organization={Wolfram Research}, title={HoldRest}, year={1988}, url={https://reference.wolfram.com/language/ref/HoldRest.html}, note=[Accessed: 19-March-2024 ]}