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 class if we
Nick --
I've been thinking of it like this:
class int isa intlike; # and isa value or whatever
class Int isa intlike; # and isa Object or whatever
class num isa numlike; # and isa value or whatever
class Num isa numlike; # and isa Object or whatever
...
class Scalar isa intlike,
Greetings all,
Ok, it took me several days to get through A6, and I'm not caught up
on all the mail yet (though I've tried to skim so I don't repeat
someone else's question). I'm left with a bunch of questions; can
anyone answer the following:
==QUESTION
- Page 8 says In some languages, all
On Sunday, March 16, 2003, at 05:09 PM, David Storrs wrote:
==QUESTION
- Page 8 says In some languages, all methods are multimethods. I
believe that Java is one of these. Is that right and what are some
others? (This is really just curiousity.)
==/
Doesn't C++ work this way? Also I believe