Re: "All classes imply the existence of a role of the same name."

2008-05-08 Thread TSa
HaloO, Nicholas Clark wrote: Is there any way to pre-declare that I want to defer baking the role from a class? (Which I guess would make it an error to reference that role at run time in any way, until I'd issued a second declaration that I was done, and baking season is open) I fear this is

[English] what is a flack? (Re: Minimal Distance)

2008-05-08 Thread John M. Dlugosz
TSa Thomas.Sandlass-at-barco.com |Perl 6| wrote: When I mentioned this before, there was big flack over mentioning the way C++ did it. I think that must have been miscommunicated, since I wasn't even talking about summing all the arguments when he brought up "Manhattan dispatch". BTW, what

Re: [English] what is a flack? (Re: Minimal Distance)

2008-05-08 Thread Mark J. Reed
N.B. "flak" and "flack" are two different words, the latter referring to a political position. On 5/8/08, John M. Dlugosz <[EMAIL PROTECTED]> wrote: > TSa Thomas.Sandlass-at-barco.com |Perl 6| wrote: >>> When I mentioned this before, there was big flack over mentioning the >>> way C++ did it. I

MMD distances

2008-05-08 Thread John M. Dlugosz
TSa Thomas.Sandlass-at-barco.com |Perl 6| wrote: Coming back to how C++ handles static overloading. How is the sort order of (int *), (int &), (int), (const int *), (const int &), (const int), (int * const) and (const int * const)? I'm too lazy to look up the details, sorry. Without looking a

Re: MMD distances

2008-05-08 Thread TSa
HaloO, John M. Dlugosz wrote: - const int& is preferred over int/int&. - const int* is preferred over int*. You mean when in each case both versions are defined as overloads only the preferred ones are ever called? C++ is the other way around. For an int* argument the int* version is preferred

Re: my TypeName $x;

2008-05-08 Thread TSa
HaloO, Larry Wall wrote: .WHAT gives you an value of undef that happens to be typed the same as the object in $x, presuming your metaobject believes in types. Why does the metaobject have to believe in types? I think it suffices to define that .WHAT returns a unique binding in the scope of int

Re: MMD distances

2008-05-08 Thread John M. Dlugosz
TSa Thomas.Sandlass-at-barco.com |Perl 6| wrote: It's called overload resolution. Perl 6 can't do that at compile time unless *all* targets are available as rw and readonly variants. I don't follow that statement. Can you give an example?