From 34895f968121fb50eaee6cc72d953b7476ab3962 Mon Sep 17 00:00:00 2001 From: Moritz Lenz Date: Wed, 16 Dec 2009 22:45:44 +0100 Subject: [PATCH] [docs] deprecation notcies for release: Object -> Mu, undef is gone --- docs/announce/2009-12 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/announce/2009-12 b/docs/announce/2009-12 index ee99a35a3e5..871fd7b943a 100644 --- a/docs/announce/2009-12 +++ b/docs/announce/2009-12 @@ -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