@@ -41,7 +41,7 @@ For example
41
41
because C << <a b> >> is a L < List|/type/List > and thus iterable, so
42
42
C << (<a b>, 'c').flat >> returns C < ('a', 'b', 'c') > , which has three elems.
43
43
44
- Note that the flatenning is recursive, so C < ((("a", "b"), "c"), "d").flat >
44
+ Note that the flattening is recursive, so C < ((("a", "b"), "c"), "d").flat >
45
45
returns C < ("a", "b", "c", "d") > , but it does not flatten itemized sublists:
46
46
47
47
say ($('a', 'b'), 'c').perl; # ($("a", "b"), "c").Seq
@@ -57,7 +57,7 @@ Returns a lazy iterable wrapping the invocant.
57
57
method hyper(Int(Cool) :$batch = 64, Int(Cool) :$degree = 4)
58
58
returns Iterable
59
59
60
- Returns another Iterable that is pontetially iterated in parallel, with a
60
+ Returns another Iterable that is potentially iterated in parallel, with a
61
61
given batch size and degree of parallelism.
62
62
63
63
The order of elements are preserved.
@@ -67,7 +67,7 @@ The order of elements are preserved.
67
67
method race(Int(Cool) :$batch = 64, Int(Cool) :$degree = 4)
68
68
returns Iterable
69
69
70
- Returns another Iterable that is pontetially iterated in parallel, with a
70
+ Returns another Iterable that is potentially iterated in parallel, with a
71
71
given batch size and degree of parallelism.
72
72
73
73
Unlike C < hyper > , C < race > does not preserve the order of elements.
0 commit comments