Skip to content

Commit b074734

Browse files
Merge pull request #938 from zostay/nix-previous-chapters
Fix #889: Nix "previous chapters" sentence
2 parents 904bcb8 + e55b772 commit b074734

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/Language/classtut.pod6

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ X<|type object>
105105
X<|defined>
106106
X<|.defined>
107107
108-
Declaring a class creates a I<type object> which, by default, is installed
109-
into the current package (just like a variable declared with C<our> scope).
110-
This type object is an "empty instance" of the class. You've already seen
111-
these in previous chapters. For example, types such as C<Int> and C<Str>
112-
refer to the type object of one of the Perl 6 built-in classes. The example
113-
above uses the class name C<Task> so that other code can refer to it later,
114-
such as to create class instances by calling the C<new> method.
108+
Declaring a class creates a I<type object> which, by default, is installed into
109+
the current package (just like a variable declared with C<our> scope). This
110+
type object is an "empty instance" of the class. For example, types such as
111+
C<Int> and C<Str> refer to the type object of one of the Perl 6 built-in
112+
classes. The example above uses the class name C<Task> so that other code can
113+
refer to it later, such as to create class instances by calling the C<new>
114+
method.
115115
116116
Type objects are I<undefined>, in the sense that they return C<False> if you
117117
call the C<.defined> method on them. You can use this method to find out if

0 commit comments

Comments
 (0)