From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: ANN: Ada 2005 Math Extensions, 20100810 release
Date: Sat, 14 Aug 2010 19:27:47 -0700
Date: 2010-08-14T19:27:47-07:00 [thread overview]
Message-ID: <i47jb5$9ma$1@adenine.netfront.net> (raw)
In-Reply-To: <4c672c0e$0$6760$9b4e6d93@newsspool3.arcor-online.net>
On 08/14/2010 04:51 PM, Georg Bauhaus wrote:
> generic
> type Fur is private;
> package Mechanical_Dog is
> --subtype Fur_Of is Fur; -- eastern pidgin?
> subtype Its_Fur is Fur;
> subtype Dogs_Fur is Fur;
> subtypeFormal_Fur is Fur;
> subtype Actual_Fur is Fur;
> subtype Fur_Type is Fur;
> subtype Generic_Fur is Fur;
The PragmAda Reusable Components have
generic -- PragmARC.Math.Functions
type Supplied_Real is digits <>;
package PragmARC.Math.Functions is
pragma Pure;
subtype Real is Supplied_Real'Base;
This is a different case (naming the base type to use for subprogram parameters,
to eliminate any constraints on the actual for Supplied_Real), but may suggest
something useful to someone.
--
Jeff Carter
"To Err is human, to really screw up, you need C++!"
St�phane Richard
63
--- news://freenews.netfront.net/ - complaints: news@netfront.net ---
next prev parent reply other threads:[~2010-08-15 2:27 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-10 21:38 ANN: Ada 2005 Math Extensions, 20100810 release Simon Wright
2010-08-11 11:40 ` Ada novice
2010-08-11 21:38 ` Simon Wright
2010-08-12 5:57 ` Dmitry A. Kazakov
2010-08-12 19:45 ` Simon Wright
2010-08-13 6:27 ` Dmitry A. Kazakov
2010-08-13 6:54 ` Ludovic Brenta
2010-08-13 13:36 ` Yannick Duchêne (Hibou57)
2010-08-13 7:42 ` Georg Bauhaus
2010-08-13 8:40 ` Dmitry A. Kazakov
2010-08-13 13:41 ` Yannick Duchêne (Hibou57)
2010-08-13 13:57 ` Dmitry A. Kazakov
2010-08-13 13:31 ` Yannick Duchêne (Hibou57)
2010-08-13 13:48 ` Dmitry A. Kazakov
2010-08-13 19:50 ` Simon Wright
2010-08-13 20:17 ` Yannick Duchêne (Hibou57)
2010-08-13 22:04 ` Simon Wright
2010-08-13 22:28 ` Yannick Duchêne (Hibou57)
2010-08-13 22:30 ` Yannick Duchêne (Hibou57)
2010-08-14 16:12 ` Simon Wright
2010-08-14 17:16 ` Dmitry A. Kazakov
2010-08-14 17:34 ` Jeffrey Carter
2010-08-14 19:18 ` Simon Wright
2010-08-14 23:51 ` Georg Bauhaus
2010-08-15 0:57 ` Yannick Duchêne (Hibou57)
2010-08-15 2:27 ` Jeffrey Carter [this message]
2010-08-12 10:36 ` Stephen Leake
2010-08-12 12:48 ` sjw
2010-08-14 1:05 ` Stephen Leake
2010-08-14 16:26 ` Simon Wright
2010-08-14 17:24 ` Dmitry A. Kazakov
2010-08-14 19:16 ` Simon Wright
2010-08-14 20:48 ` Dmitry A. Kazakov
2010-08-14 21:55 ` Simon Wright
2010-08-15 6:14 ` Dmitry A. Kazakov
2010-08-15 17:06 ` Simon Wright
2010-08-15 18:18 ` 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