On Tue, Aug 29, 2006 at 19:49:38 -0500, Mark Stosberg wrote:
> I'm interested in helping to write some tests for "return types", but
> I'd like some clarifications about them first. Are they just
> "declarations" that help Perl optimize stuff, or they actually contracts?
'of' is the contractual fo
Damian Conway schreef:
> [for @array -> $index, $value {...}]
>
> No. There's no such magic. I simply screwed up. I should have written:
> for @array.kv -> $index, $value {...}
> :-(
Ah, much clearer now.
--
Affijn, Ruud
"Gewoon is een tijger."
Since nobody else has answered yet, I'll try to say something.
I'll post this also to perl6-language so that those who know better
can comment on this.
On 8/28/06, Mark Stosberg <[EMAIL PROTECTED]> wrote:
First, what's the recommended reference for learning how dispatching to
the right 'multi' s
In a message dated Tue, 29 Aug 2006, Mark Stosberg writes:
my $rm = sub { given $rm_param {
when Code { $rm_param(self) }
when Hash { %rm_param }
default{ self.query.param($rm_param) }
}}();
This is eerily like Contextual::Return, which made me wonder if it's eve
All,
This email is part of a brain dump from my thoughts over the last
week while I was away from a computer. If anything doesn't make
sense, I will clarify or expand it in the following days.
I believe that Perl 6 already has basically all of the necessary
parts built-in for implementing a
HI Darren,
Generally I really like the idea of fixing the relational/OO
mismatch problem by swallowing the relational model whole. :-)
But I wonder if we are ready to say goodbye to the tyranny of disk
seek? How will your proposed system use the disk? And if it does use the
disk what abou
Agent Zhang wrote:
>
> According to S04, given {} is at statement level, so you can't use it
> directly as an expression. But Perl 6 always allow you to say
>
> my $foo = do given {...}
>
> As well as
>
> my $foo = do if foo {...} else {...}
I confirmed this both work now with pugs!
I thin
Trey Harris asked:
This is eerily like Contextual::Return, which made me wonder if it's
even required in Perl 6.
Obviously we can do
return do given want {
when :($) { ... }
...
};
But "return do given want" flows so badly, I desperately want some sugar
On Wed, 30 Aug 2006, Nigel Hamilton wrote:
> HI Darren,
> Generally I really like the idea of fixing the relational/OO
> mismatch problem by swallowing the relational model whole. :-)
> But I wonder if we are ready to say goodbye to the tyranny of disk
> seek? How will your proposed s
At 5:31 AM +0100 8/31/06, Nigel Hamilton wrote:
Rather, the proposal is focusing on what users of these data structures
would / could see. The idea is that relational structures have the same
ease of use and flexability that things like hashes or arrays or sequences
or sets do now. They can of
10 matches
Mail list logo