Re: A6: objects and/or types (was: P6FC)

2003-03-16 Thread chromatic
On Fri, 14 Mar 2003 10:46:31 +, Larry Wall wrote: > If you say > > $foo.isa(Even) > > it doesn't just check to see if $foo is a member of class Int, but it also > checks the constraints on type Even, and returns false unless $foo is an even > integer. > > We could still call Even a clas

Re: A6: objects and/or types (was: P6FC)

2003-03-14 Thread Larry Wall
On Fri, Mar 14, 2003 at 05:21:46PM +0100, Aldo Calpini wrote: : Simon Cozens wrote: : > ...and I don't know if macros are actually objects and can be tossed : > around, or if they're just part of the compilation process. : : they have their proper place in the diagram Larry put in A6. : furthermor

A6: objects and/or types (was: P6FC)

2003-03-14 Thread Aldo Calpini
Simon Cozens wrote: > ...and I don't know if macros are actually objects and can be tossed > around, or if they're just part of the compilation process. they have their proper place in the diagram Larry put in A6. furthermore, he says: "These syntactic forms correspond the various Routine types i

AW: AW: P6FC

2003-03-14 Thread Murat Ünalan
[snip] > > PS: But before reinventing a wheel, i would like to suggest to > > adopt the .NET/Java object hierarchy. > > uhm. either I am completely wrong or you are totally out > of track. I really don't understand what you're talking about :-) Urgs. Hopefully i didn't trapped into a dunghill ?

Re: AW: P6FC

2003-03-14 Thread Simon Cozens
[EMAIL PROTECTED] (Aldo Calpini) writes: > any (possibly meaningful) feedback will be very appreciated. I think Type should be called Value, and that arrays should possibly be a mixin of lists, but apart from that it looks fine. Oh, and you missed out Grammars; and I don't know if macros are actua

Re: AW: P6FC

2003-03-14 Thread Aldo Calpini
Murat Ünalan wrote: > A very good idea, but i am afraid that this ML isnt the right > audience. > > PS: But before reinventing a wheel, i would like to suggest to > adopt the .NET/Java object hierarchy. uhm. either I am completely wrong or you are totally out of track. I really don't understand w

AW: P6FC

2003-03-13 Thread Murat Ünalan
[snip] > effort on properties), so I started to put down a tentative > class hierarchy of the Perl6 language (I call it P6FC for > Perl6 Foundation Classes, but the name may (should? :-) very > well change). A very good idea, but i am afraid that this ML isnt the right audien

P6FC

2003-03-13 Thread Aldo Calpini
hello everybody, I'm just a poor newbie here, so please bear with me :-) while reading the last Apocalypse I thought that maybe time has come to write things down (like the recent effort on properties), so I started to put down a tentative class hierarchy of the Perl6 language (I call it