Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Eliminates protos closes #2629
  • Loading branch information
JJ committed Feb 19, 2019
1 parent f5d17a2 commit 218b7f1
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions doc/Type/Any.pod6
Expand Up @@ -288,7 +288,6 @@ returns that L<List|/type/List>.
Defined as:
proto method elems(|) is nodal
multi method elems(Any:U: --> 1)
multi method elems(Any:D:)
Expand All @@ -303,7 +302,6 @@ It will also return 1 for classes.
=head2 method end
proto method end(|) is nodal
multi method end(Any:U: --> 0)
multi method end(Any:D:)
Expand All @@ -316,7 +314,6 @@ Interprets the invocant as a list, and returns the last index of that list.
Defined as:
proto method pairup(|) is nodal
multi method pairup(Any:U:)
multi method pairup(Any:D:)
Expand All @@ -334,7 +331,6 @@ X<|$ (item contextualizer)>
Defined as:
proto sub item(|) is pure
multi item(\x)
multi item(|c)
multi item(Mu $a)
Expand Down Expand Up @@ -371,7 +367,6 @@ method.
Defined as
proto method serial(|) is nodal
multi method serial()
Returns the self-reference to the instance itself:
Expand All @@ -385,7 +380,6 @@ say $b.serial.^name; # OUTPUT: «Any␤»
Defined as:
proto method Hash(|) is nodal
multi method Hash( --> Hash:D)
Coerces the invocant to L<Hash|/type/Hash>.
Expand All @@ -394,7 +388,6 @@ Coerces the invocant to L<Hash|/type/Hash>.
Defined as:
proto method hash(|) is nodal
multi method hash(Any:U:)
multi method hash(Any:D:)
Expand Down Expand Up @@ -977,8 +970,8 @@ L<List|/type/List> if the invocant is undefined:
Defined as:
multi method antipairs(Any:U: -->List)
multi method antipairs(Any:D: -->List)
multi method antipairs(Any:U:)
multi method antipairs(Any:D:)
Converts the invocant to a L<List|/type/List> via the C<list> method and returns the result of
L<List.antipairs|/type/List#routine_antipairs> on it.
Expand Down Expand Up @@ -1179,7 +1172,6 @@ Based on C<$matcher> value can be either C<((Any))> or empty List.
Defined as:
proto method append(|) is nodal {*}
multi method append(Any:U \SELF: |values --> Array)
In the case the instance is not a positional-thing, it instantiates it as a new
Expand Down

0 comments on commit 218b7f1

Please sign in to comment.