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:

Introduced in 1996
 (3.0)