Association
A keyed collection of rules key -> value.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
Association✓Association(k1 -> v1, …)a key -> value map, built from pairs.Typed signatures
| Type | Package | Applies |
|---|---|---|
(rules: expression<Rule>*) -> any | combinatorics | always |
Details
- Its own operator, not compute-engine's : 's keys are strings only, and every example here keys on a plain number.
- Length, First, Last, Join and Sort are extended to recognize an and answer in terms of its values, falling through to their ordinary list handling otherwise.
- Not a general replacement for or a full port of Wolfram's Association: only the operations the examples below exercise are implemented.
Examples
Basic #
Scope #
About
| Examples | 5 |
|---|---|
| Checked against | Wolfram Language 5 agree |
| Crosswalk | Wolfram Language |