On Tue, Mar 31, 2009 at 10:54:33PM -0700, Jon Lang wrote:
: * Why are pointy blocks forbidden from enclosing their signatures in
: parentheses, or from using the ":( ... )" notation? Is this a
: holdover from the early days, when parentheses denoted a list? Or is
: there still a good reason not t
HaloO,
Moritz Lenz wrote:
* What types are you allowed to assign to an invocant?
Whatever the type constraint says. When you write
class Foo { method bar ($x, $y) }, then bar's signature gets an invocant
of type Foo implicitly. If you write ... method bar (A $s:, $x, $y),
then the type constra
On Wed, Apr 01, 2009 at 09:55:37AM -0300, Daniel Ruoso wrote:
> Em Qua, 2009-04-01 às 05:41 -0700, Jon Lang escreveu:
> > ...nor would I expect it to. I'm just wondering if (@_, %_) _are_
> > still part of a placeholder-generated signature. In short, is there a
> > way to access a slurpy array or
Em Qua, 2009-04-01 às 05:41 -0700, Jon Lang escreveu:
> On Wed, Apr 1, 2009 at 5:07 AM, Daniel Ruoso wrote:
> > The concept of "invocant" only exists in terms of syntax now. In runtime
> > the invocant is simply the first positional argument. This simplifies
> > things a lot.
> I think you're conf
On Wed, Apr 1, 2009 at 5:07 AM, Daniel Ruoso wrote:
> Em Ter, 2009-03-31 às 22:54 -0700, Jon Lang escreveu:
>> Yes, I know that there is no S08. I'm working on writing one, and I'd
>> like some feedback to help me do so.
>
> ++
>
>> My draft is going to be about Signatures and Captures. Thus, my
Em Ter, 2009-03-31 às 22:54 -0700, Jon Lang escreveu:
> Yes, I know that there is no S08. I'm working on writing one, and I'd
> like some feedback to help me do so.
++
> My draft is going to be about Signatures and Captures. Thus, my questions:
> Invocants:
The concept of "invocant" only exist
Jonathan Worthington wrote:
> Jon Lang wrote:
>>
>> Invocants:
>>
>> * Does anyone object to roles having an invocant, and that invocant
>> referring to the class that is doing the role?
>>
>>
>
> Yes; on further reflection, the ability to type that invocant raises all
> kinds of possible WTFs with
Jon Lang wrote:
Invocants:
* Is it illegal to specify an invocant in a sub, or is it merely
nonsensical? That is, should the compiler complain, or should it
silently treat the invocant as the first positional parameter? (The
latter has the advantage that you don't have to worry about what the
I can't comment on most of your questions, but the few that I can answer
are inline below...
Jon Lang wrote:
> Yes, I know that there is no S08. I'm working on writing one,
++
> * What types are you allowed to assign to an invocant?
Whatever the type constraint says. When you write
class Foo
Yes, I know that there is no S08. I'm working on writing one, and I'd
like some feedback to help me do so.
My draft is going to be about Signatures and Captures. Thus, my questions:
Invocants:
* Is it illegal to specify an invocant in a sub, or is it merely
nonsensical? That is, should the co
10 matches
Mail list logo