Front page | perl.perl6.language |
Postings from May 2005
From: Matt Fowles
May 11, 2005 14:48
Message ID: email@example.com
On 5/11/05, Luke Palmer <firstname.lastname@example.org> wrote:
> On 5/11/05, Autrijus Tang <email@example.com> wrote:
> > In a somewhat related topic:
> > pugs> (1,(2,3),4)
> > 4
> > Because the invocant to . assumes a Singular context.
> Right, but the *inside* of the invocant is still a list, so it's in
> list context. I think that line should return 3.
I am confused as to why exactly this is the case. Are you saying that
nested lists like this flatten? That would certainly catch me off
guard. Would you mind explaining that to me a little more?
"Computer Science is merely the post-Turing Decline of Formal Systems Theory."