[Nice-commit] Nice/stdlib/nice/lang collections.nice,1.69,1.70
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2004-06-27 17:34:44
|
Update of /cvsroot/nice/Nice/stdlib/nice/lang In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1487 Modified Files: collections.nice Log Message: Fix the parameter names in the implementation of foreach. Index: collections.nice =================================================================== RCS file: /cvsroot/nice/Nice/stdlib/nice/lang/collections.nice,v retrieving revision 1.69 retrieving revision 1.70 diff -C2 -d -r1.69 -r1.70 *** collections.nice 27 Jun 2004 10:00:29 -0000 1.69 --- collections.nice 27 Jun 2004 17:34:34 -0000 1.70 *************** *** 129,136 **** ****************************************************************/ ! <T> foreach(co...@ja...llection, func) { ! for (T elem : coll) ! func(elem); } --- 129,136 ---- ****************************************************************/ ! <T> foreach(col...@ja...llection, action) { ! for (T elem : collection) ! action(elem); } |