Re: Type::Class::Haskell does Role

2005-07-15 Thread Autrijus Tang
On Sat, Jul 16, 2005 at 12:24:21AM +0300, Yuval Kogman wrote: > > There is a new generic comparison operator known as ~~. > > ~~ is just Eq, there is also Ord Hmm, <~ and ~> for generic comparators? ;) > and Show That is already prefix ~ for that. > and a multitude of other things, which are m

Re: WTF? - Re: method calls on $self

2005-07-15 Thread Graham Barr
On Thu, July 14, 2005 10:47 am, Autrijus Tang said: > If this were a straw poll, I'd say... > > 1. Meaning of $_ > > .method should mean $_.method always. Making it into a runtime > error is extremely awkward; a compile-time error with detailed > explanataion is acceptable but suboptim

STM semantics, the Transactional role

2005-07-15 Thread Yuval Kogman
Hey! Welcome back our show, gay camels[1] in denial! On todays show, those who can't shut up won't, and will send you another email! Today's issues cover STM, and just that. Perl6 should have some kind of atomic { ... } going on, AFAIK. W

Re: Optimization pipeline

2005-07-15 Thread Yuval Kogman
On Thu, Jul 14, 2005 at 18:06:24 -0700, Dave Whipp wrote: > Yuval Kogman wrote: > > > - optimizers stack on top of each other > > - the output of each one is executable > > - optimizers work in a coroutine, and are preemptable > > - optimizers are small > > - optimizers operate

Re: Type::Class::Haskell does Role

2005-07-15 Thread Yuval Kogman
On Fri, Jul 15, 2005 at 10:01:43 +0800, Autrijus Tang wrote: > On Fri, Jul 15, 2005 at 02:38:22AM +0300, Yuval Kogman wrote: > > As I see it == is the generic comparison, and 'eq' is == with > > coercing parameters (in Haskell it'd be > > eq :: (Show a) => a -> a -> Bool or so... Isn't that lovely?

Re: WTF? - Re: method calls on $self

2005-07-15 Thread Paul Seamons
I'd have to agree. I also think that .foo should always mean $_.foo in methods, without causing any errors if $?SELF =:= $_ becomes false. OK. There is a lot of historical threads on the subject and already a lot of "legacy" in the Perl6 language. OK - As I understand it, this is what A12 say

Perl 6 Modules

2005-07-15 Thread Gav....
Hi All, Being a relative newcomer to all that is Perl 6, can someone tell me what differences I need to know in order to write/amend Perl 6 extension Modules as opposed to Perl 5 versions ? I have downloaded PXPerl for Windows (which seems a bit broken to me atm) and wanted to start writing so