Announce: Rakudo Perl 6 development release #30 ("Kiev")

2010-06-17 Thread Carl Mäsak
On behalf of the Rakudo development team, I'm pleased to announce the June 2010 development release of Rakudo Perl #30 "Kiev". Rakudo is an implementation of Perl 6 on the Parrot Virtual Machine (see ). The tarball for the June 2010 release is available from

Re: Announce: Rakudo Perl 6 development release #30 ("Kiev")

2010-06-17 Thread Darren Duncan
So, is "Rakudo Star" meant to be a parallel release series, sort of like Perl 5.12.x vs 5.13.x are now, or are the monthly Rakudo releases we've been seeing going to be named "Star" at some point? I thought I read recently that "Star" would be coming in June. -- Darren Duncan

Something wrong with str.reverse

2010-06-17 Thread Xi Yang
I'm using rakudo 2010_05, with parrot 2.4.0. I found the $str.reverse just don't work at all: $ perl6 -e 'my $str="abcde"; say $str; say $str.reverse;'abcdeabcde _ Hotmail: Powerful Free email

Re: Something wrong with str.reverse

2010-06-17 Thread Hongwen Qiu
于 2010年06月18日 13:25, Xi Yang 写道: > I'm using rakudo 2010_05, with parrot 2.4.0. I found the $str.reverse just > don't work at all: > $ perl6 -e 'my $str="abcde"; say $str; say $str.reverse;'abcdeabcde Use say $str.flip;

RE: Something wrong with str.reverse

2010-06-17 Thread Xi Yang
Thanks!So the API has changed permanently? > Date: Fri, 18 Jun 2010 13:29:11 +0800 > From: qiuhong...@gmail.com > To: perl6-users@perl.org > Subject: Re: Something wrong with str.reverse > > 于 2010年06月18日 13:25, Xi Yang 写道: > > I'm using rakudo 2010_05, with parrot 2.4.0. I found the $str.reverse

Re: Something wrong with str.reverse

2010-06-17 Thread Hongwen Qiu
于 2010年06月18日 13:32, Xi Yang 写道: > Thanks!So the API has changed permanently? I think so. The "reverse" is for arrays, and "flip" is for Strings.

Re: Something wrong with str.reverse

2010-06-17 Thread Richard Hainsworth
Nothing wrong with 'reverse', its acting exactly as specified. 'reverse' changes the order of a list. A string is considered a single entity in perl(6), unlike other languages where a string is an array of characters. So in order to get 'reverse' to work on a string, it first needs to be tur

Re: Something wrong with str.reverse

2010-06-17 Thread Richard Hainsworth
I dont think the specification regarding 'reverse' has ever changed. 'flip' has more uses than just for strings. For example, it flips the key/value in a pair. Hence, my %h = Z 1,2,3,4; # a neat way of specifying a hash in terms of two lists say (map { .flip }, %h).perl; # the .perl gives yo

Is there already have these utilities?

2010-06-17 Thread Xi Yang
Like those in perl5: File::Spec;File::Path;Getopt::Long; P.S.: There seems has something wrong with my damned windows hotmail, as it weirdly ignores newlines... _ Hotmail: Trusted email with

Re: Something wrong with str.reverse

2010-06-17 Thread Hongwen Qiu
于 2010年06月18日 13:50, Richard Hainsworth 写道: 'flip' has more uses than just for strings. For example, it flips the key/value in a pair. Hence, my %h = Z 1,2,3,4; # a neat way of specifying a hash in terms of two lists say (map { .flip }, %h).perl; # the .perl gives you more information about