Skip to content

Commit a80a093

Browse files
author
Jan-Olof Hendig
committed
Iterable and QuantHash are roles
1 parent 4678149 commit a80a093

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/Type/Iterable.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
=SUBTITLE Interface for container objects that can be iterated over
66
7-
class Iterable { }
7+
role Iterable { }
88
99
C<Iterable> serves as an API for objects that can be iterated with the
1010
C<for> construct and related iteration constructs, like hyper operators.

doc/Type/QuantHash.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
=SUBTITLE Collection of objects represented as hash keys
66
7-
class QuantHash does Associative { }
7+
role QuantHash does Associative { }
88
99
A C<QuantHash> represents a set of objects, represented as the keys of a
1010
C<Hash>. When asked to behave as a list it ignores its C<.values> and

0 commit comments

Comments
 (0)