develooper Front page | perl.perl6.language | Postings from March 2009

Re: r25821 - docs/Perl6/Spec

Thread Previous
From:
Carl Mäsak
Date:
March 19, 2009 02:01
Subject:
Re: r25821 - docs/Perl6/Spec
Message ID:
16d769b70903190201v749f1af5uceb2a1e154f7b027@mail.gmail.com
Jonathan (>):
> O AKSHUALY...that's quite easy to do, since we just calls .WHAT on the value
> to get its proto-object and stick it in the sig. So perhaps best is just to
> re-define:
>
> multi sub fib (LITERAL) { ... }
>
> As meaning
>
> multi sub fib (LITERAL.WHAT $ where LITERAL) { ... }

I like this. It's what I expected it to mean from the start.

// Carl

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About