comp.lang.ada
 help / color / mirror / Atom feed
* Q: unboxed values and polymorphism
@ 1996-06-15  0:00 Hannes Haug
  1996-06-15  0:00 ` Robert Dewar
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Hannes Haug @ 1996-06-15  0:00 UTC (permalink / raw)



Hi,

I'm new to Ada and have a questions on polymorphism. The standard
way to have polymorphism in Ada are tagged records. But for my needs
this requires too much space. List cells would have a size of 3 words
instead of 2. I'd also have to put integers in records. This would
require too much time and space. I'd like to convert access values to
integers and do my own tagging. I could simply translate my C code.
But it would be nice to see how an experienced Ada programmer would do
this in Ada. Can I find some code that does this somewhere ? 

Thanks

 - hannes





^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~1996-07-02  0:00 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-15  0:00 Q: unboxed values and polymorphism Hannes Haug
1996-06-15  0:00 ` Robert Dewar
1996-06-15  0:00 ` Jon S Anthony
1996-06-16  0:00 ` Hannes Haug
1996-06-17  0:00   ` Tucker Taft
1996-06-17  0:00     ` Tucker Taft
1996-06-17  0:00   ` Tucker Taft
1996-06-17  0:00   ` Hannes Haug
1996-06-18  0:00     ` Fergus Henderson
1996-06-18  0:00     ` Robert Dewar
1996-06-22  0:00       ` Robert A Duff
1996-06-22  0:00         ` Robert Dewar
1996-06-22  0:00   ` Hannes Haug
1996-06-22  0:00     ` Robert Dewar
     [not found]       ` <uvvhgryr22d.fsf@chaq.informatik.uni-tuebingen.de>
1996-06-28  0:00         ` Robert Dewar
1996-07-02  0:00           ` Fergus Henderson
1996-06-18  0:00 ` Jon S Anthony
1996-06-19  0:00 ` Hannes Haug

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox