We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44903fd commit a2ac522Copy full SHA for a2ac522
doc/Type/Seq.pod6
@@ -75,6 +75,14 @@ Returns the underlying iterator, and marks the invocant as consumed.
75
If called on an already consumed sequence, throws an error of type
76
L<X::Seq::Consumed|/type/X::Seq::Consumed>.
77
78
+=head2 method elems
79
+
80
+ method elems(Seq:D:)
81
82
+If the caller C<Seq> is not lazy, consumes and caches its values,
83
+returning their length. Otherwise, throws an error of type
84
+L<X::Cannot::Lazy|/type/X::Cannot::Lazy>.
85
86
=head2 method is-lazy
87
88
method is-lazy(Seq:D: --> Bool:D)
0 commit comments