SequenceableCollection.st
changeset 22734 d6ccee71b508
parent 22715 c938e3910594
child 22906 68b93ca8fbec
--- a/SequenceableCollection.st	Sun May 06 12:48:36 2018 +0200
+++ b/SequenceableCollection.st	Sun May 06 13:20:56 2018 +0200
@@ -450,8 +450,6 @@
     ^ self == SequenceableCollection
 ! !
 
-
-
 !SequenceableCollection methodsFor:'Compatibility-Squeak'!
 
 allButFirst
@@ -788,7 +786,6 @@
     ^ self replaceFrom:start to:stop with:anArray startingAt:repStart
 ! !
 
-
 !SequenceableCollection methodsFor:'accessing'!
 
 after:anObject
@@ -4900,7 +4897,8 @@
      and collect the results.
      The block is called with n arguments for group of n consecutive elements in the receiver.
      An error will be reported, if the number of elements in the receiver
-     is not a multiple of n."
+     is not a multiple of n.
+     This is similar to slicesOf:collect:, but here, an N-arg block is expected."
 
     |stop "{ Class:SmallInteger }" newCollection dstIdx argVector rslt|
 
@@ -4954,7 +4952,8 @@
     "evaluate the argument, anNArgBlock for every group of n elements in the collection.
      The block is called with n arguments for group of n consecutive elements in the receiver.
      An error will be reported, if the number of elements in the receiver
-     is not a multiple of n."
+     is not a multiple of n.
+     This is similar to slicesOf:do:, but here, an N-arg block is expected."
 
     |stop "{ Class:SmallInteger }" argVector|
 
@@ -5276,7 +5275,8 @@
      and collect the results as instances of targetContainerClass.
      The block is called with n element subcollections for groups of n consecutive elements in the receiver.
      If the number of elements in the receiver is not a multiple of n, the last block evaluation will
-     get a short slice as argument"
+     get a short slice as argument.
+     This is similar to inGroupsOf:collect:, but here, a 1-arg block is expected."
 
     |out|
 
@@ -5297,7 +5297,8 @@
     "evaluate the argument, aOneArg for every slice of n elements of the collection.
      The block is called with n element subcollections for groups of n consecutive elements in the receiver.
      If the number of elements in the receiver is not a multiple of n, the last block evaluation will
-     get a short slice as argument"
+     get a short slice as argument.
+     This is similar to inGroupsOf:do:, but here, a 1-arg block is expected."
 
     |i stop|
 
@@ -6105,6 +6106,7 @@
     "Modified: / 20.5.1998 / 15:25:08 / cg"
 ! !
 
+
 !SequenceableCollection methodsFor:'obsolete'!
 
 randomizedQuickSortFrom:inBegin to:inEnd sortBlock:sortBlock with:aCollection
@@ -7261,7 +7263,6 @@
     "Created: 14.2.1997 / 16:13:03 / cg"
 ! !
 
-
 !SequenceableCollection methodsFor:'searching'!
 
 detect:aBlock startingAt:startIndex