From: Simon Wright <simon@pushface.org>
Subject: Re: Enumeration literals and their associated functions
Date: Thu, 20 Oct 2005 20:26:45 +0100
Date: 2005-10-20T20:26:45+01:00 [thread overview]
Message-ID: <m2ach4yop6.fsf@grendel.local> (raw)
In-Reply-To: nPO5f.6112$9N.3063@trndny07
"Frank J. Lhota" <NOSPAM.lhota@adarose.com> writes:
> Basically, the only use of the function notation for enumeration
> literals is in renaming declarations.
I'm not sure whether you would regard it as different .. but you can
use an enumeration literal to satisfy a generic formal:
generic
with function Control return Boolean;
package Foo is
package Bar is new Foo (Control => True);
next prev parent reply other threads:[~2005-10-20 19:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-20 14:21 Enumeration literals and their associated functions Maciej Sobczak
2005-10-20 15:35 ` Frank J. Lhota
2005-10-20 19:26 ` Simon Wright [this message]
2005-10-20 16:17 ` Dmitry A. Kazakov
2005-10-20 17:03 ` Niklas Holsti
2005-10-20 22:10 ` Randy Brukardt
2005-10-20 22:59 ` Robert A Duff
2005-10-21 3:10 ` Larry Kilgallen
2005-10-21 4:57 ` Jeffrey R. Carter
2005-11-30 6:07 ` adaworks
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox