Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
rfc:functional-elements [2008/03/16 14:29] – Linking is_traversable() lstrojny | rfc:functional-elements [2008/03/16 14:59] – Linking the iterate() detail page lstrojny |
---|
* [[rfc:functional-elements:call-iterator|class CallIterator]]: a simple iterator which walks over a traversable list (including arrays) and calls a specified method. The CallIterator might optionally gather the results | * [[rfc:functional-elements:call-iterator|class CallIterator]]: a simple iterator which walks over a traversable list (including arrays) and calls a specified method. The CallIterator might optionally gather the results |
* [[rfc::functional-elements:is-traversable|function is_traversable()]]: Returns true if a list is traversable (Iterator/IteratorAggregate/array) | * [[rfc::functional-elements:is-traversable|function is_traversable()]]: Returns true if a list is traversable (Iterator/IteratorAggregate/array) |
* function iterate(): Walks over a traversable list and does nothing | * [[rfc:functional-elements:iterate|function iterate()]]: Walks over a traversable list and does nothing |
* function iterator_true(): Walks over a traversable list and assumes every element to be true | * function iterator_true(): Walks over a traversable list and assumes every element to be true |
* function iterator_false(): Walks over a traversable list and assumes every element to be false | * function iterator_false(): Walks over a traversable list and assumes every element to be false |
| |