Darren Duncan wrote:
> Maybe the problem is a technicality with the parser because ...
>
> I'm guessing that the problem is that until you see the <-- then what you've
> read so far on its left is ambiguous as to whether it is a result type or a
> parameter. I can understand that but I don't know
Larry Wall wrote:
On Thu, Mar 19, 2009 at 02:18:35PM -0700, Darren Duncan wrote:
Yes, --> is the "of" type, not the "as" type, as S02 I think says.
Good to know.
Second, since the "sub NAME (PARAMS --> RETTYPE) {...}" form looks nice
visually, I would like to request a variant of that form,
On Thu, Mar 19, 2009 at 02:18:35PM -0700, Darren Duncan wrote:
> I have a question and a request.
>
> In http://perlcabal.org/syn/S06.html#Named_subroutines it says:
>
> The general syntax for named subroutines is any of:
>
> my RETTYPE sub NAME ( PARAMS ) TRAITS {...}# lexical only
>
Author: lwall
Date: 2009-03-20 00:05:55 +0100 (Fri, 20 Mar 2009)
New Revision: 25933
Modified:
docs/Perl6/Spec/S06-routines.pod
Log:
make as trait consistent with as/of in S02
Modified: docs/Perl6/Spec/S06-routines.pod
===
--- do
I have a question and a request.
In http://perlcabal.org/syn/S06.html#Named_subroutines it says:
The general syntax for named subroutines is any of:
my RETTYPE sub NAME ( PARAMS ) TRAITS {...}# lexical only
our RETTYPE sub NAME ( PARAMS ) TRAITS {...}# also package-scoped
Author: lwall
Date: 2009-03-19 21:35:30 +0100 (Thu, 19 Mar 2009)
New Revision: 25911
Modified:
docs/Perl6/Spec/S12-objects.pod
Log:
mark recent remarks as only for post-6.0.0
Modified: docs/Perl6/Spec/S12-objects.pod
===
--- docs
Author: lwall
Date: 2009-03-19 19:28:28 +0100 (Thu, 19 Mar 2009)
New Revision: 25909
Modified:
docs/Perl6/Spec/S12-objects.pod
Log:
clarify container constraint meaning of sigil as requested by jnthn++
Modified: docs/Perl6/Spec/S12-objects.pod
=
Author: lwall
Date: 2009-03-19 19:13:13 +0100 (Thu, 19 Mar 2009)
New Revision: 25908
Modified:
docs/Perl6/Spec/S12-objects.pod
Log:
[S12] attempt to clarify type narrowness of multiple constraints, enums, and
where clauses
Modified: docs/Perl6/Spec/S12-objects.pod
===
On Mar 18, 2009, at 5:26 PM, fREW Schmidt wrote:
s1n and I decided that we would start Dallas.p6m as we are close to
each
other geographically speaking. We are meeting tomorrow (Thursday,
March 19,
7:00PM) at a coffee shop with free wifi. The address is 985 W
Bethany Dr
Allen, TX 75013.
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
10 matches
Mail list logo