Update of /cvsroot/nice/Nice/stdlib/nice/lang
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17449/stdlib/nice/lang
Modified Files:
collections.nice
Log Message:
Nicedoc comment for foreach.
Index: collections.nice
===================================================================
RCS file: /cvsroot/nice/Nice/stdlib/nice/lang/collections.nice,v
retrieving revision 1.68
retrieving revision 1.69
diff -C2 -d -r1.68 -r1.69
*** collections.nice 22 Jun 2004 09:51:24 -0000 1.68
--- collections.nice 27 Jun 2004 10:00:29 -0000 1.69
***************
*** 24,28 ****
****************************************************************/
! <T> void foreach(Collection<T> coll, T->void func);
// Backward compatibility. `iter` will probably be removed sometime.
<T> void iter(Collection<T> coll, T->void func) = coll.foreach(func);
--- 24,32 ----
****************************************************************/
! /**
! Perform <code>action</code> on each element of <code>collection</code>.
! */
! <T> void foreach(Collection<T> collection, T->void action);
!
// Backward compatibility. `iter` will probably be removed sometime.
<T> void iter(Collection<T> coll, T->void func) = coll.foreach(func);
|