You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: overviews/collections/trait-traversable.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ The `foreach` method is meant to traverse all elements of the collection, and ap
82
82
|**Subdivisions:**||
83
83
|`xs splitAt n`|Split `xs` at a position, giving the pair of collections `(xs take n, xs drop n)`.|
84
84
|`xs span p`|Split `xs` according to a predicate, giving the pair of collections `(xs takeWhile p, xs.dropWhile p)`.|
85
-
|`xs partition p`|Split `xs` into a pair of two collections; one with elements that satisfy the predicate `p`, the other with elements that do not, giving the pair of collections `(xs filter p, xs.filterNot p)`|
85
+
|`xs partition p`|Split `xs` into a pair of collections; one with elements that satisfy the predicate `p`, the other with elements that do not, giving the pair of collections `(xs filter p, xs.filterNot p)`|
86
86
|`xs groupBy f`|Partition `xs` into a map of collections according to a discriminator function `f`.|
87
87
|**Element Conditions:**||
88
88
|`xs forall p`|A boolean indicating whether the predicate `p` holds for all elements of `xs`.|
0 commit comments