Daniel Ruoso daniel-at-ruoso.com |Perl 6| wrote:
Actually, it only looks complicated while you think only on the callee
side.
No, in general it requires introducing a read-only proxy in front of the
container. This may be optimized away when it can be tracked at
compile-time, but that's certa
Em Dom, 2009-06-14 às 15:53 -0500, John M. Dlugosz escreveu:
> In Perl 6, the default parameter passing is to make a read-only alias
> for the caller's lvalue. This means that the function may not change
> the caller's variable, but must track changes to it made by other means.
> What is the poi
> In the 'ins' branch, build/Makefile.in looks like it's heading down the
> same wrong road as parrot. See parrot's TT #700 for more details and a
> patch for parrot. I'd suggest a similar approach for rakudo.
>
> The problem is that while MS forbids a space, Solaris 8 requires one.
> You c
In Perl 6, the default parameter passing is to make a read-only alias
for the caller's lvalue. This means that the function may not change
the caller's variable, but must track changes to it made by other means.
What is the point?
It is a contrivance to illustrate how the variable can be chan
Em Dom, 2009-06-14 às 10:09 -0500, Patrick R. Michaud escreveu:
> On Sat, Jun 06, 2009 at 08:01:50AM -0700, Daniel Ruoso wrote:
> > rakudo: multi a (Str $a, Str $b) { [+$a, +$b] }; multi a (Array
> > $a, $b where '+') { [+] @($a) }; ('1', '2', '+').reduce: &a;
> > rakudo fb2fd4: OUTPUT«Unknown in
On Sat, Jun 06, 2009 at 08:01:50AM -0700, Daniel Ruoso wrote:
>
> rakudo: multi a (Str $a, Str $b) { [+$a, +$b] }; multi a (Array
> $a, $b where '+') { [+] @($a) }; ('1', '2', '+').reduce: &a;
> rakudo fb2fd4: OUTPUT«Unknown introspection value
> 'pos_required'in method Any::reduce (src/gen_set