--- a/SequenceableCollection.st Thu Mar 15 11:19:06 2007 +0100
+++ b/SequenceableCollection.st Thu Mar 15 11:19:37 2007 +0100
@@ -5178,7 +5178,7 @@
!
findFirst:aBlock
- "find the first element, for which evaluation of the argument, aBlock
+ "find the index of the first element, for which evaluation of the argument, aBlock
returns true; return its index or 0 if none detected.
This is much like #detect, however, here an INDEX is returned,
while #detect returns the element."
@@ -5187,7 +5187,7 @@
stop := self size.
1 to:stop do:[:index |
- (aBlock value:(self at:index)) ifTrue:[^ index].
+ (aBlock value:(self at:index)) ifTrue:[^ index].
].
^ 0
@@ -6952,7 +6952,7 @@
!SequenceableCollection class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/SequenceableCollection.st,v 1.243 2007-03-06 16:01:12 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/SequenceableCollection.st,v 1.244 2007-03-15 10:19:37 cg Exp $'
! !
SequenceableCollection initialize!