Hi there,
trivial patch in attach.
(11:47:29 AM) ihrd: it type-based.t we have
(11:47:50 AM) ihrd: multi foo (@bar) { "Array " ~ join(', ', @bar) }
(11:48:24 AM) ihrd: and is(foo(@array), 'Array foo, bar, baz',
'dispatched to the Array sub');
(11:48:47 AM) Jonathan Worthington: nod
(11:49:07 AM)
Hi there,
I `m looking into MMD, example:
> multi t (@a) {1}
> multi t (Array $a) {2}
> multi t (Positional $a) {3}
> multi t (Positional[Array] $a) {4}
> say t()
1
> say t(Array.new)
2
> my $foo does Positional; say t($foo)
1
> my @a; say t(@a)
2
I am expected some sort of ambiguous there.
Tha
Hello there,
what :foo<> should exactly produce?
At first I was expecting:
foo => ""
but in Rakudo:
foo => []
and it looks like the right thing on the other hand.
(I have started this topic in the November mail list
http://groups.google.com/group/november-wiki/browse_thread/thread/939216e836f69baa