Author: moritz
Date: 2009-01-06 11:14:50 +0100 (Tue, 06 Jan 2009)
New Revision: 24784
Modified:
docs/Perl6/Spec/S29-functions.pod
Log:
[S29] typos, thinkos and wording improvements, Brandon++, Tim++
Modified: docs/Perl6/Spec/S29-functions.pod
==
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #62002]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62002 >
Due to the structurally recursive nature of C<.perl>, the fact that
Rakudo r34997 doesn'
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #62006]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62006 >
Rakudo r34997 exhibits a few problems related to mentioning or
numifying protoobjects.
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #62004]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62004 >
Rakudo r34997 doesn't allow enum values to be written without their namespace:
$ perl6
- Original Message
> From: Jonathan Worthington
> > subset Even of Int where { not $_ % 2 };
> > my Even $num = 2;
> > say $num;
> > say $num.WHAT;
> >
> >
> > Output:
> >
> > 2
> > Int
> > I'm expecting:
> >
> > 2
> > Even
> >
> >
> I think the current behaviour
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #62008]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62008 >
rakudo 35017: OUTPUT«1 23 4»
rakudo: say {1 => 2, 3 => 4}.fmt("%s\t%s")
rak
# New Ticket Created by Richard Hainsworth
# Please include the string: [perl #62012]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62012 >
See the following (svn revision 34915)
$ perl6
> regex digit { [0..9] }; my $x='a
# New Ticket Created by Donald Hunter
# Please include the string: [perl #62010]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62010 >
This patch fixes a problem with gcc 3.4.6 on Linux where -fvisibility=hidden
is detecte
Suppose I want a 'when' clause to fire when the test is *not* met. What
syntax should be used?
So how would I do
my $x = 'abced';
given $x {
when ! // {say 'this does not contain a digit'} # this does
not work
}
Since the ~~ operator is implied in the when, how do we get an implied
!~~ op
On Tue, Jan 06, 2009 at 02:50:07AM -0800, Carl Mäsak wrote:
> Due to the structurally recursive nature of C<.perl>, the fact that
> Rakudo r34997 doesn't give newly defined classes a default C<.perl>
> method upon definition is very keenly felt e.g. when doing C<.perl> on
> a list of instances of t
Pm (>):
> But if you'd like to add a temporary ".perl" method to Object
> that does something more reasonable (however you define it),
> that's certainly ok.
masak: What about a TheClass.new(...) which sets up attributes
to their current values?
jnthn: you know, that's actually not half bad. :)
On Tue, Jan 6, 2009 at 10:12, Patrick R. Michaud wrote:
snip
> Also, Perl 6 already provides a 'digit' rule by default, although
> it's digits in the Unicode sense as opposed to simply the 0..9
> sequence.
snip
Please tell me that Perl 6 isn't going to make that same error the
Perl 5.8 did. Or a
Em Seg, 2009-01-05 às 20:32 +0100, Moritz Lenz escreveu:
> Daniel Ruoso wrote:
> > would force item context in the capture, and here is the problem, as a
> > capture in item context was supposed to return the invocant.
> Maybe we could have a different rule for captures in scalar contexts
> that do
Daniel Ruoso wrote:
> I've just realized we were missing some spots, so remaking the list of
> possibilities
>
> my $a = sub s1 { return a => 1 }
> my $b = sub s2 { return a => 1, b => 2 }
> my $c = sub s3 { return 1, 2, 3, a => 1, b => 2 }
> my $d = sub s4 { return 1 }
> my $e = sub s5 { retu
Em Ter, 2009-01-06 às 11:28 -0800, Jon Lang escreveu:
> Of course, that's only a third of the problem. What should people
> expect with each of these:
Hmm... I think that takes the discussion to another level, and the
question is:
"what does a capture returns when coerced to a context it doesn'
I now added a test to t/spec/S03-operators/smartmatch.t
Moritz
Daniel Ruoso wrote:
> Hmm... I think that takes the discussion to another level, and the
> question is:
>
> "what does a capture returns when coerced to a context it doesn't
> provide a value for?"
>
> The easy answer would be undef, empty array and empty hash, but that
> doesn't DWIM at all.
>
>
On Tuesday, 6. January 2009 22:01:36 Jon Lang wrote:
> item($x) # Dwimmey use of item context.
IIRC this is the same as $$x, right? Or does that
extract the invocant slot without dwimmery?
> list($x) # Dwimmey use of list context.
> hash($x) # Dwimmey use of hash context.
> $x._ # the Cap
TSa wrote:
> Jon Lang wrote:
>> item($x) # Dwimmey use of item context.
>
> IIRC this is the same as $$x, right? Or does that
> extract the invocant slot without dwimmery?
Umm... good question. This is a rather nasty paradox: on the one
hand, we want to be able to stack $, @, and % with capture
On Tue, Jan 06, 2009 at 12:42:16PM -0500, Chas. Owens wrote:
> On Tue, Jan 6, 2009 at 10:12, Patrick R. Michaud wrote:
> snip
> > Also, Perl 6 already provides a 'digit' rule by default, although
> > it's digits in the Unicode sense as opposed to simply the 0..9
> > sequence.
> snip
>
> Please te
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #62024]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62024 >
I know that rakudo doesn't prioritize implementation of the various
quoting constructs, b
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #62026]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62026 >
22:06 <@moritz_> rakudo: class A { has @.a; method b { @.a = <1 2 3> }; };
# New Ticket Created by "Dave Whipp"
# Please include the string: [perl #62028]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62028 >
S16 requires that "say" (and "print") when called with no args should
be a compile-time
# New Ticket Created by "Christian Sturm"
# Please include the string: [perl #62014]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62014 >
There is an missing an in the word doesn't in the Classes and Objects
paragraph of
Author: particle
Date: 2009-01-07 01:53:03 +0100 (Wed, 07 Jan 2009)
New Revision: 24789
Modified:
docs/Perl6/Spec/S19-commandline.pod
Log:
[S19] rip out option categories and services until they prove useful
Modified: docs/Perl6/Spec/S19-commandline.pod
Author: particle
Date: 2009-01-07 01:56:43 +0100 (Wed, 07 Jan 2009)
New Revision: 24790
Modified:
docs/Perl6/Spec/S19-commandline.pod
Log:
[S19] address concerns about mixing -e and -e6
Modified: docs/Perl6/Spec/S19-commandline.pod
==
# New Ticket Created by mbere...@flashmail.com
# Please include the string: [perl #62030]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62030 >
Up until about mid December 2008, the Rakudo perl6 -e copied
its command line
Author: lwall
Date: 2009-01-07 02:20:43 +0100 (Wed, 07 Jan 2009)
New Revision: 24791
Modified:
docs/Perl6/Spec/S11-modules.pod
Log:
[S11] clarify the intent of the -e6 remark not to be special syntax, but
a natural outcome of -e and '6;'
Modified: docs/Perl6/Spec/S11-modules.pod
=
Daniel Ruoso wrote:
Hmm... I think that takes the discussion to another level, and the
question is:
"what does a capture returns when coerced to a context it doesn't
provide a value for?"
I'd like to take one step further, and ask what it is that introduced
capture semantics in the first pl
On Tue, Jan 06, 2009 at 12:11:28PM -0800, Moritz Lenz wrote:
> I know that rakudo doesn't prioritize implementation of the various
> quoting constructs, but there are various things that need testing
> ($*OUT.say, @*ARGS (which seems to be broken atm), command line
> switches, things like RT #61980
On Tue, Jan 06, 2009 at 01:50:06PM -0800, Dave Whipp wrote:
>
> S16 requires that "say" (and "print") when called with no args should
> be a compile-time error. Rakudo accepts it with no error.
Since S16 has been in an incomplete "draft" status for such a long
time, I'd like to get confirmation f
Dave Whipp wrote:
> Daniel Ruoso wrote:
>> Hmm... I think that takes the discussion to another level, and the
>> question is:
>>
>> "what does a capture returns when coerced to a context it doesn't
>> provide a value for?"
>
> I'd like to take one step further, and ask what it is that introduced
>
Author: masak
Date: 2009-01-07 06:43:05 +0100 (Wed, 07 Jan 2009)
New Revision: 24792
Modified:
docs/Perl6/Spec/S29-functions.pod
Log:
[S29] put the C function inside a list, for consistency
Modified: docs/Perl6/Spec/S29-functions.pod
===
Author: masak
Date: 2009-01-07 06:59:42 +0100 (Wed, 07 Jan 2009)
New Revision: 24793
Modified:
docs/Perl6/Spec/S29-functions.pod
Log:
[S29] added mentions of getc, print, say and printf, with references to S16
for details
Modified: docs/Perl6/Spec/S29-functions.pod
Author: masak
Date: 2009-01-07 07:00:46 +0100 (Wed, 07 Jan 2009)
New Revision: 24794
Modified:
docs/Perl6/Spec/S16-io.pod
Log:
[S16] slight disambiguation
Modified: docs/Perl6/Spec/S16-io.pod
===
--- docs/Perl6/Spec/S16-io.pod 20
Author: masak
Date: 2009-01-07 07:25:35 +0100 (Wed, 07 Jan 2009)
New Revision: 24795
Modified:
docs/Perl6/Spec/S29-functions.pod
Log:
[S29] added .succ/.pred for Num, Int and Bool
Modified: docs/Perl6/Spec/S29-functions.pod
===
--
36 matches
Mail list logo