comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <OneWingedShark@gmail.com>
Subject: Re: Ada 2005 Language Designer
Date: Thu, 09 Oct 2014 14:14:25 -0600
Date: 2014-10-09T14:14:25-06:00	[thread overview]
Message-ID: <b1CZv.407484$Lj7.302705@fx22.iad> (raw)
In-Reply-To: <6168abe0-23f3-4190-a405-ffd28d9e490a@googlegroups.com>

[-- Attachment #1: Type: text/plain, Size: 465 bytes --]

On 10/8/2014 12:30 PM, Adam Beneschan wrote:
> A package is not an object, neither in the sense defined by the Ada RM
> nor in any other relevant sense.  You can't create multiple instances of it.

Not quite true.

Generic
   First_Name, Last_Name : String;
Package Person is

   --Operations

end Person;

[...]

  Package Employer is new Person( "Robert", "Dewar" );
  Package Employee is new Person( "Dave",   "Smith" );
  [...]
  Employee.Operation_X( [...] );

[-- Attachment #2: www.cs.dartmouth.edu/reports/TR86-104.pdf --]
[-- Type: application/pdf, Size: 763193 bytes --]

  parent reply	other threads:[~2014-10-09 20:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-08 13:44 Ada 2005 Language Designer G.B.
2014-10-08 14:16 ` David Botton
2014-10-08 15:15   ` J-P. Rosen
2014-10-08 18:22     ` Adam Beneschan
2014-10-08 19:07       ` Dmitry A. Kazakov
2014-10-08 19:12       ` David Botton
2014-10-08 17:13   ` Jeffrey Carter
2014-10-08 17:17     ` David Botton
2014-10-08 18:30     ` Adam Beneschan
2014-10-08 20:35       ` Jeffrey Carter
2014-10-08 21:26         ` Adam Beneschan
2014-10-09 20:18           ` Shark8
2014-10-09 23:33             ` Peter Chapin
2014-10-09 20:14       ` Shark8 [this message]
2014-10-09  1:07 ` brbarkstrom
replies disabled

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