Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > Re: Partial typ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 4 Topic 5609 of 5827
Post > Topic >>

Re: Partial type specifications and their ordering

by "Dmitry A. Kazakov" <mailbox@[EMAIL PROTECTED] > Mar 18, 2008 at 09:40 AM

On Mon, 17 Mar 2008 16:14:42 -0700 (PDT), Eric Hughes wrote:

> My comment earlier today got my mind in a buzz on the topic of partial
> types, so as a form of personal exorcism I wrote a skeleton draft.

[...]

Your draft does not explain why certain sets of types (called partial
here)
cannot form a proper class.

My guess is that any set of types can be associated with a class. The
procedure is a follows. You construct the intersection of the interfaces
of
the types from the set. (The set is countable infinite, so it should be
possible to do) The result is the interface of the root. The relation "S
derived from T" is obviously preserved on the class.

Consequently, generic types (not Ada term, but the meaning is obvious) are
fully equivalent to cl*****. The only difference is that the former do not
have T'Class and thus lack corresponding polymorphic values (class-wides).
IMO the difference is not in the semantics.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
 




 4 Posts in Topic:
Partial type specifications and their ordering
Eric Hughes <eric.eh9@  2008-03-17 16:14:42 
Re: Partial type specifications and their ordering
Eric Hughes <eric.eh9@  2008-03-17 16:20:53 
Re: Partial type specifications and their ordering
"Dmitry A. Kazakov&q  2008-03-18 09:40:54 
Re: Partial type specifications and their ordering
Eric Hughes <eric.eh9@  2008-03-18 07:30:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 0:00:21 CDT 2008.