SequenceHold

SequenceHold

is an attribute that specifies that Sequence objects appearing in the arguments of a function should not automatically be flattened out.

Details

Examples

open allclose all

Basic Examples  (1)

Properties & Relations  (3)

The attribute HoldAll does not prevent splicing of sequences:

SequenceHold is also necessary:

The attribute HoldAllComplete implies SequenceHold:

Assignment operators are SequenceHold, so that sequences can be returned as results:

Rules have the same property:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_sequencehold, author="Wolfram Research", title="{SequenceHold}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/SequenceHold.html}", note=[Accessed: 06-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_sequencehold, organization={Wolfram Research}, title={SequenceHold}, year={1996}, url={https://reference.wolfram.com/language/ref/SequenceHold.html}, note=[Accessed: 06-December-2024 ]}