From: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: Generic formals - meanings and Wikibook suggestion
Date: Mon, 7 Apr 2008 02:25:06 -0700 (PDT)
Date: 2008-04-07T02:25:06-07:00 [thread overview]
Message-ID: <f0605eaf-b83f-4289-9256-461efdab99d2@t54g2000hsg.googlegroups.com> (raw)
The following table:
http://en.wikibooks.org/wiki/Ada_Programming/Generics#Generic_formal_types
is extremely useful with generics and provides invaluable help when
writing or reading generic code.
(another way of putting it is that the syntax for generics is just
broken ;-) )
What is missing from this table is the full meaning of the basic:
type T is private;
This basic form is used in many places - even on the same Wikibook
page.
What is the exact meaning of this basic form? What knowledge about T
is expressed this way?
From AARM I conclude that it covers all non-limited types, but
Wikibook provides the same description (second row in the table) for:
type T (<>) is private;
Is there any difference between the two?
(hint: add the basic form to the same table in the Wikibook?)
--
Maciej Sobczak * www.msobczak.com * www.inspirel.com
next reply other threads:[~2008-04-07 9:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-07 9:25 Maciej Sobczak [this message]
2008-04-07 10:08 ` Generic formals - meanings and Wikibook suggestion christoph.grein
2008-04-07 10:19 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox