rfc:functional-elements
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:functional-elements [2008/03/16 14:29] – Linking is_traversable() lstrojny | rfc:functional-elements [2008/03/17 09:34] – Clarifying definition lstrojny | ||
---|---|---|---|
Line 38: | Line 38: | ||
} | } | ||
</ | </ | ||
+ | |||
Line 44: | Line 45: | ||
* [[rfc: | * [[rfc: | ||
* [[rfc:: | * [[rfc:: | ||
- | * function iterate(): Walks over a traversable list and does nothing | + | * [[rfc: |
- | * function iterator_true(): | + | * function iterator_true(): |
- | * function iterator_false(): | + | * function iterator_false(): |
+ | |||
+ | ==== Modified use cases ==== | ||
+ | === UC-1: Iterating over an aggregation of objects === | ||
+ | <code php> | ||
+ | iterate(new CallIterator($list, | ||
+ | </ | ||
rfc/functional-elements.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1