Author: wayland
Date: 2009-03-11 04:10:30 +0100 (Wed, 11 Mar 2009)
New Revision: 25797
Modified:
docs/Perl6/Spec/S06-routines.pod
Log:
Added a cross-reference to S07-iterators, as suggested by ruoso/skids on IRC.
Modified: docs/Perl6/Spec/S06-routines.pod
===
On Mon, Mar 9, 2009 at 11:47 PM, fREW Schmidt wrote:
> Hey guys,
>
> I just threw together a workflow for git with rakudo (
> http://wiki.github.com/rakudo/rakudo/frews-recommended-workflow) and I
> think it will help a lot. Hopefully I didn't make any mistakes. Anyway, I
> plan on trying it ou
Em Seg, 2009-03-09 às 12:24 -0700, Larry Wall escreveu:
> On Mon, Mar 09, 2009 at 02:40:43PM -0300, Daniel Ruoso wrote:
> : ... $capture ~~ $signature ...;
> : my $args_matched = @($/).elems;
> : &code.(|$/);
> That API still would not tell the match whether signature must match the
> entire
On Tue, Mar 10, 2009 at 12:46:29PM -0500, Jonathan Scott Duff wrote:
> For those who are interested in adding some of the Perl 6
> builtins to Rakudo's core settings files -- I've created
> a wiki page that lists some prime candidates that I think
> ought to be relatively easy to co
http://nopaste.snit.ch/15851
For those who are interested in adding some of the Perl 6
builtins to Rakudo's core settings files -- I've created
a wiki page that lists some prime candidates that I think
ought to be relatively easy to convert (perhaps using inline PIR).
http://wiki.github.com/rakudo/rakudo/setting-candidates
S
anyway, S03 says that "By default C and C use
C semantics." I don't think that implies numification of the arguments.
oh.
but what happens when you cmp a Num and a List?
I don't know.
Neither does Parrot, which is why we get "No suitable
candidate found ... " :-)
pasting this addendum to the
On Tue Mar 10 08:38:38 2009, nelo.ony...@googlemail.com wrote:
> Hi,
>
> I have just updated my rakudo installation. I ran the tests and spectest.
> The tests passed. Here was the summary of the spectest:
>
> Test Summary Report
> ---
> t/spec/S32-list/reduce.rakudo
On Tue, Mar 10, 2009 at 03:40:20AM -0700, Vasily Chekalkin wrote:
> +multi method reduce(Code $expression) {
> +my Int $arity = $expression.count;
> +die('Cannot reduce() using a unary or nullary function.') if $arity
> < 2;
> +
> +my $list := @.list or fail('Cannot red
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #63778]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63778 >
rakudo: my @a = 1,2,3; say @a min 4
rakudo 531ca2: OUTPUT«Multiple Dispatch: No suitab
# New Ticket Created by "Ifejinelo Onyiah"
# Please include the string: [perl #63776]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63776 >
Hi,
I have just updated my rakudo installation. I ran the tests and spectest.
The
On 2009-Mar-9, at 3:32 am, Ovid wrote:
Since you cache resultsets if they've not changed, you could easily
have the XML
and YAML roles getting reapplied at runtime multiple times.
Could this issue be mitigated with temp variables?
{
temp $resultset does Role::Serializable::YAML;
pr
On Tue, Mar 10, 2009 at 11:12:13AM +, Aaron Crane wrote:
: pugs-comm...@feather.perl6.nl writes:
: > Modified:
: >docs/Perl6/Spec/S05-regex.pod
: > +The result object is available in the C object via a C<< . >>
lookup.
:
: I think I understand the reasoning behind this change.
:
: Howeve
Synopsis 6 has arity
arity vs count for manditory vs optional parameters
sorry for the noise
I've browsed the discussions on re-implementing reduce in perl6, and
saw the comment how "arity" returns the # of required arguments. I
wanted to refer back to a discussion of arity in the synopsis, looking
to see if there was a way to get the # of optional args, but grepping
through the directory
On Tue, Mar 10, 2009 at 09:02:08AM -0500, Jonathan Scott Duff wrote:
> On Tue, Mar 10, 2009 at 08:40:12AM -, Rafael Garcia-Suarez wrote:
> > Moritz Lenz wrote in perl.perl6.compiler :
> > > Hi,
> > >
> > > fREW Schmidt wrote:
> > >> I just threw together a workflow for git with rakudo (
> > >>
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #63772]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63772 >
perl6: my @a = 1,2,3; @a[2] := []; say @a.perl
elf 25787: OUTPUT«[1,2,3]»
..rakudo 9
$.a.() is equivalent to $.a().()
which is equivalent to $.a()()
ruoso: ok.
I buy that.
I just don't see why .() and () aren't equivalent in this
particular case.
they are
but you're missing that $.a is a method call
not a variable
ah.
so, the full version of $.a is $.a()
* masak sees now
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #63770]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63770 >
hmm
something's wrong there
rakudo: class A { method a { { .say } }; method foo { $.a
On Tue, Mar 10, 2009 at 08:40:12AM -, Rafael Garcia-Suarez wrote:
> Moritz Lenz wrote in perl.perl6.compiler :
> > Hi,
> >
> > fREW Schmidt wrote:
> >> I just threw together a workflow for git with rakudo (
> >> http://wiki.github.com/rakudo/rakudo/frews-recommended-workflow) and I
> >> think
# New Ticket Created by Vasily Chekalkin
# Please include the string: [perl #63764]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63764 >
---
src/builtins/any-list.pir | 61 -
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #63766]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63766 >
rakudo: &map.assuming({})
rakudo 95ce39: OUTPUT«Null PMC access in find_method() [...]
# New Ticket Created by Vasily Chekalkin
# Please include the string: [perl #63762]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63762 >
After some discussions on #perl6 I've created new version of Any.reduce.
pmichaud++
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #63760]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63760 >
rakudo: loop { say "OH HAI"; last } while 1
rakudo 95ce39: OUTPUT«OH HAI [...]
moritz
Moritz Lenz wrote in perl.perl6.compiler :
> Hi,
>
> fREW Schmidt wrote:
>> I just threw together a workflow for git with rakudo (
>> http://wiki.github.com/rakudo/rakudo/frews-recommended-workflow) and I think
>> it will help a lot. Hopefully I didn't make any mistakes. Anyway, I plan
>> on tryi
Hello.
This one is latest vesion. Sorry for messing with git-send-email :-/
--
Bacek
pugs-comm...@feather.perl6.nl writes:
> Modified:
>docs/Perl6/Spec/S05-regex.pod
> +The result object is available in the C object via a C<< . >>
> lookup.
I think I understand the reasoning behind this change.
However, using . in particular says "boolean" to me. How about
.<*> instead, wit
On Tue, Mar 10, 2009 at 07:46:51PM +1300, Martin D Kealey wrote:
: I'd like to be able to use grep, map, etc in a currying fashion. Can I do:
:
: my &square_list := -> $x { $x * $x }.map();
my &square_list := &map.assuming(-> $x { $x * $x});
: And if so, what is the signature of &squar
Uhm, ignore me, it seems I can't read, it's already in there. Sorry for
the noise.
Moritz
Moritz Lenz wrote:
> Hi,
>
> fREW Schmidt wrote:
>> I just threw together a workflow for git with rakudo (
>> http://wiki.github.com/rakudo/rakudo/frews-recommended-workflow) and I think
>> it will help a l
I am trying to list all files in all sub-directories and have the code
below but this is listing the . directories as well as the directories
themselves. I just want the full path filenames and not the individual
directories out. Here is what I have
#!c:/Perl/bin/Perl.exe
@ARGV = qw(.) unless @AR
Hi,
fREW Schmidt wrote:
> I just threw together a workflow for git with rakudo (
> http://wiki.github.com/rakudo/rakudo/frews-recommended-workflow) and I think
> it will help a lot. Hopefully I didn't make any mistakes. Anyway, I plan
> on trying it out tomorrow (Boo Haman!) and I'd appreciate i
31 matches
Mail list logo