Skip to content

Commit 42f0d4e

Browse files
committed
Typographical etc. corrections to mop.pod
1 parent 46b4504 commit 42f0d4e

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

lib/Language/mop.pod

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ The meta object behind
3333
an object can be obtained with C<$obj.HOW>, where HOW stands for Higher Order
3434
Workings (or, I<HOW the *%@$ does this work?>).
3535
36-
Here the calls with C<.^> are calls to the meta object, so C<A.^compose> is a
37-
shortcut for C<A.HOW.compose(A)>. The invocant is passed along in the
36+
Here, the calls with C<.^> are calls to the meta object, so C<A.^compose> is a
37+
shortcut for C<A.HOW.compose(A)>. The invocant is passed in the
3838
parameter list as well, to make it possible to support prototype-style type
3939
systems, where there is just one meta object (and not one meta object per
4040
type, as standard Perl 6 does it).
@@ -84,7 +84,7 @@ stable identity indicator.
8484
8585
=head2 X<HOW|syntax,HOW>
8686
87-
The metaclass object: "Higher Order Workings"
87+
The metaclass object: "Higher Order Workings".
8888
8989
=head2 X<WHY|syntax,WHY>
9090
@@ -93,6 +93,7 @@ The attached Pod value.
9393
=head2 X<DEFINITE|syntax,DEFINITE>
9494
9595
The object has a valid concrete representation.
96+
9697
Returns C<True> for instances and C<False> for type objects.
9798
9899
=head2 X<VAR|syntax,VAR>
@@ -110,20 +111,21 @@ The presence of a C<Scalar> object indicates that the object is "itemized".
110111
111112
B<Note:> this documentation largely reflects the meta object system as
112113
implemented by the L<Rakudo Perl 6 compiler|http://rakudo.org/>, since the
113-
L<design document|http://design.perl6.org/> are very light on details.
114+
L<design documents|http://design.perl6.org/> are very light on details.
114115
115-
For each type declarator key word, such as C<class>, C<role>, C<enum>,
116+
For each type declarator keyword, such as C<class>, C<role>, C<enum>,
116117
C<module>, C<package>, C<grammar> or C<subset>, there is a separate meta
117118
class in the C<Metamodel::> namespace. (Rakudo implements them in the
118119
C<Perl6::Metamodel::> namespace, and then maps C<Perl6::Metamodel> to
119120
C<Metamodel>).
120121
121122
Many of the these meta classes share common functionality. For example roles,
122-
grammars and classes can all contain methods and attributes, and can do roles.
123+
grammars and classes can all contain methods and attributes, as well as being
124+
able to do roles.
123125
This shared functionality is implemented in roles which are composed into the
124126
appropriate meta classes. For example
125127
L<role Metamodel::RoleContainer|/type/Metamodel::RoleContainer> implements the
126-
functionality that a type can hold roles, and
128+
functionality that a type can hold roles and
127129
L<Metamodel::ClassHOW|/type/Metamodel::ClassHOW>, which is the meta class
128130
behind the C<class> keyword, does this role.
129131

0 commit comments

Comments
 (0)