Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix #889: Nix "previous chapters" sentence
Looked to see if "chapter" occurred anywhere else too. It did not.
  • Loading branch information
zostay committed Oct 5, 2016
1 parent d51e018 commit e55b772
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions doc/Language/classtut.pod6
Expand Up @@ -105,13 +105,13 @@ X<|type object>
X<|defined>
X<|.defined>
Declaring a class creates a I<type object> which, by default, is installed
into the current package (just like a variable declared with C<our> scope).
This type object is an "empty instance" of the class. You've already seen
these in previous chapters. For example, types such as C<Int> and C<Str>
refer to the type object of one of the Perl 6 built-in classes. The example
above uses the class name C<Task> so that other code can refer to it later,
such as to create class instances by calling the C<new> method.
Declaring a class creates a I<type object> which, by default, is installed into
the current package (just like a variable declared with C<our> scope). This
type object is an "empty instance" of the class. For example, types such as
C<Int> and C<Str> refer to the type object of one of the Perl 6 built-in
classes. The example above uses the class name C<Task> so that other code can
refer to it later, such as to create class instances by calling the C<new>
method.
Type objects are I<undefined>, in the sense that they return C<False> if you
call the C<.defined> method on them. You can use this method to find out if
Expand Down

0 comments on commit e55b772

Please sign in to comment.