Skip to content

Commit

Permalink
Adds warning about being non-spec
Browse files Browse the repository at this point in the history
(and some leftover change in StrDistance). Closes #1653
  • Loading branch information
JJ committed May 19, 2018
1 parent 42dbab0 commit 6d250e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions doc/Type/Metamodel/ClassHOW.pod6
Expand Up @@ -34,6 +34,8 @@ C<Metamodel::ClassHOW> is the meta class behind the C<class> keyword.
say so Int.HOW ~~ Metamodel::ClassHOW; # OUTPUT: «True␤»
say Int.^methods(:all).pick.name; # OUTPUT: «random Int method name␤»
I<Warning>: This class is part of the Rakudo implementation, and is not a part of the language specification.
=head1 Methods
=head2 method add_fallback
Expand Down
2 changes: 2 additions & 0 deletions doc/Type/Metamodel/EnumHOW.pod6
Expand Up @@ -27,6 +27,8 @@ C<Metamodel::EnumHOW> is the meta class behind the C<enum> keyword.
enum numbers <1 2>;
say numbers.HOW ~~ Metamodel::EnumHOW # OUTPUT: «True␤»
I<Warning>: This class is part of the Rakudo implementation, and is not a part of the language specification.
=head1 Methods
=head2 method add_enum_value
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/StrDistance.pod6
Expand Up @@ -4,7 +4,7 @@
=SUBTITLE Contains the result of a string transformation.
C<StrDistance> objects are used to represent the return of the L<tr|https://docs.perl6.org/syntax/tr$SOLIDUS$SOLIDUS$SOLIDUS> operator.
C<StrDistance> objects are used to represent the return of the L<string transformation|https://docs.perl6.org/syntax/tr$SOLIDUS$SOLIDUS$SOLIDUS> operator.
say (($ = "fold") ~~ tr/old/new/).^name;# OUTPUT: «StrDistance␤»
Expand Down

0 comments on commit 6d250e5

Please sign in to comment.