Prepend
The collection with value added as its first element.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
Prepend✓Prepend(collection, value)the collection with value added as its first element.Prepend(association, rule)association with rule (or a list of rules) inserted at the front; a prepended key displaces any later entry for the same key.Typed signatures
| Type | Package | Applies |
|---|---|---|
(collection<any>, value) -> collection | combinatorics | always |
Examples
3 more kept as data, checked against the oraclesScope #
About
| Examples | 9 |
|---|---|
| Checked against | Wolfram Language 8 agreemathlib4 4 agree |
| Crosswalk | Wolfram Language |
Implementation
mapped
mathlib4packages/oracle/src/mappings.tsThe value consed onto the list; a list value onto a list of scalars fails to elaborate (ours nests it as one element), as does an association.