Skip to content

Commit

Permalink
[docs] deprecation notcies for release: Object -> Mu, undef is gone
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Dec 16, 2009
1 parent 26251f5 commit 34895f9
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/announce/2009-12
Expand Up @@ -38,6 +38,22 @@ release include:
tests since the November 2009 release. With this release Rakudo is
now passing % of the available spectest suite.

The Perl 6 language specification is still in flux. Please take note of the
following changes, which might affect your existing programs. In the next
release of Rakudo, the deprecated features will likely be gone.

* The root of the object hierarchy has been changed from 'Object' to 'Mu'.
The type 'Object' goes away.

* The term 'undef' is gone. You can replace it with other constructs,
depending on context:
- 'Nil' is undefined in item context, and the empty list in list context
- 'Mu' is the most general undefined value which does not flatten in list
context
- as a smart matching target, you can replace '$obj ~~ undef'
by '$obj ~~ *.notdef'


The development team thanks all of our contributors and sponsors for
making Rakudo Perl possible. If you would like to contribute,
see http://rakudo.org/how-to-help , ask on the perl6-compiler@perl.org
Expand Down

0 comments on commit 34895f9

Please sign in to comment.