Re: Regarding Roles and $?ROLE

2005-09-10 Thread Luke Palmer
On 9/11/05, Stevan Little <[EMAIL PROTECTED]> wrote: > Hello all. > > I have some questions about how Roles will behave in certain > instances, and when/where/what $?ROLE should be bound too. > > 1) Given this example, where 'bar' is a method stub (no implementation) > > role Foo { > method

Regarding Roles and $?ROLE

2005-09-10 Thread Stevan Little
Hello all. I have some questions about how Roles will behave in certain instances, and when/where/what $?ROLE should be bound too. 1) Given this example, where 'bar' is a method stub (no implementation) role Foo { method bar { ... } } Should the eventually implemented method still have

Hyper fmap

2005-09-10 Thread Luke Palmer
I think we should generalize the hyper stuff a little bit more. I want hyper operators serve as "fmap", or "functor map", rather than just list. This is a popular concept, and a pretty obvious generalization. A functor is any object $x on which you can do "fmap" such that it satisfies these laws

Sequence points, undefined behaviour

2005-09-10 Thread Nicholas Clark
I might have missed this somewhere in the documentation, but is Perl 6 going to have any documented notion of things like sequence points, undefined behaviour, etc? Is it going to mandate that function arguments are evaluated in any particular order (eg left to right)? Is it going to fix the behavi