Reap
Evaluates an expression together with everything Sow recorded during it.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
Reap✓Reap(expr): 's value, and one list per distinct tag Sow used while evaluating it (untagged sows share one group), in first-appearance order. if nothing was sown.Reap(expr, tag)Like , but the second element is the list of groups whose tag matches exactly. With a list of tags it holds one such list per tag, so a tag nothing was sown under gives in its place. sows under each of its tags.Typed signatures
| Type | Package | Applies |
|---|---|---|
(any, any?) -> any | combinatorics | always |
Details
- Only exact tag equality is matched here, not Wolfram's fuller pattern-matching form of the second argument.
- Sequencing several s in one : use (Wolfram's ), not compute-engine's own — see Sow's examples and control.ts's module doc for why.
Examples
About
| Examples | 7 |
|---|---|
| Checked against | Wolfram Language 7 agree |
| Crosswalk | Wolfram Language |
See also: Sow