Sow
Usage
• Sow[e] specifies that e should be collected by the nearest enclosing Reap. • Sow[e, tag] specifies that e should be collected by the nearest enclosing Reap whose pattern matches tag. • Sow[e, { , , ... }] specifies that e should be collected once for each pattern that matches a .
Notes
• Sow[e, ... ] returns e. • By having several identical  , a single expression can be made to appear multiple times in a list returned by Reap. • Sow[e] is equivalent to Sow[e, None]. • Sow[e, {{tag}}] sows an expression with tag {tag}. • New in Version 5.
|