Skip to content

Commit

Permalink
[S32::Containers] Changed the *default* default default KeyHash value…
Browse files Browse the repository at this point in the history
… to Any.

S02 says the default default value is sensitive to the value type of the KeyHash. If the default value type of a KeyHash is Any, which seems logical to me, then the default default default value should be a prototype Any, not 0.
  • Loading branch information
Kodi Arfer authored and Kodi Arfer committed Sep 15, 2010
1 parent 4517a6b commit f73043b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S32-setting-library/Containers.pod
Expand Up @@ -1012,7 +1012,7 @@ A mutable C<Bag> container, represented as C<KeyHash of UInt>.

=head2 KeyHash

role KeyHash[::T $t, $default = 0] does Associative {...}
role KeyHash[::T, $default = Any] does Associative {...}

A C<KeyHash> represents a mutable set of values, represented as the keys
of a C<Hash>. When asked to behave as a list it ignores its values
Expand Down

0 comments on commit f73043b

Please sign in to comment.