public
Description: The Nu programming language.
Homepage: http://programming.nu
Clone URL: git://github.com/timburks/nu.git
Clarification in documentation for (NuEnumerable -reduce:from:).

Thanks to Jonathan Yedidia for noticing this, sorry about the confusion.
timburks (author)
Thu Apr 24 21:03:49 -0700 2008
commit  b841d026b8a5501c9b854391b2d611747a0030ce
tree    a0da036a863adc1275937bf3c7670d84a5f26133
parent  86aea2e982b15dd231aa9344540e00539ab2b46c
...
41
42
43
44
 
 
 
45
46
47
...
41
42
43
 
44
45
46
47
48
49
0
@@ -41,7 +41,9 @@ limitations under the License.
0
 - (id) find:(NuBlock *) block;
0
 /*! Iterate over each member of a collection, applying the provided block to each member, and returning an array of the results. */
0
 - (NSArray *) map:(NuBlock *) block;
0
-/*! Iterate over each member of a collection, using the provided block to combine members into a single return value. */
0
+/*! Iterate over each member of a collection, using the provided block to combine members into a single return value.
0
+ The block is expected to take two arguments: the accumulated return value followed by the collection member.
0
+*/
0
 - (id) reduce:(NuBlock *) block from:(id) initial;
0
 /*! Iterate over each member of a collection, applying the provided selector to each member, and returning an array of the results. */
0
 - (NSArray *) mapSelector:(SEL) selector;

Comments

    No one has commented yet.