diff --git a/lib/Type/Metamodel/Primitives.pod b/lib/Type/Metamodel/Primitives.pod index 3c2aca438..5b321e3af 100644 --- a/lib/Type/Metamodel/Primitives.pod +++ b/lib/Type/Metamodel/Primitives.pod @@ -25,9 +25,9 @@ of just one method called C: =head1 Methods -=head2 method create_method +=head2 method create_type - method create_method(Mu $how, $repr = 'P6opaque') + method create_type(Mu $how, $repr = 'P6opaque') Creates and returns a new type from a meta object C<$how> and a representation name. @@ -43,7 +43,7 @@ Sets the package associated with the type. method install_method_cache( Mu $type, %cache, :$authoritative = True) Installs a method cache, that is, a mapping from method names to code objects. -If C<:authoritative> is missing, or set to C, and calls of methods that +If C<:authoritative> is missing, or set to C, then calls of methods that do not exist in the cache willl throw an exception of type L. If C<:authoritative> is set to C, the usual fallback mechanism are tried. @@ -60,7 +60,7 @@ to C, the usual fallback mechanism are tried. Configures the type checking for C<$type>. C<@cache> is a list of known types against which C<$type> checks positively (so in a classical class-based system, the type itself and all recursive superclasses). If C<:authoritative> -is missing or C, this type will fail to check against all types not in +is missing or C, this type will fail checks against all types not in C<@cache>. If C<:call_accepts> is True, the method L will be called for type checks against this type.