comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Idiomatic formatting for empty package
Date: Fri, 6 Oct 2017 20:52:30 -0500
Date: 2017-10-06T20:52:30-05:00	[thread overview]
Message-ID: <or9c0v$v6l$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: or7fu4$7vh$1@dont-email.me

"Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org> wrote in message 
news:or7fu4$7vh$1@dont-email.me...
> On 10/06/2017 01:36 AM, Randy Brukardt wrote:
>> Out of curosity, why you do need to write an empty package? I don't think
>> I've encountered one outside of ACATS tests and incomplete examples.
>
> I frequently structure projects as
>
> package Project is
>    pragma Pure;
> end Project;
>
> package Project.Model is ...
> package Project.UI is ...
> procedure Project.Program is ...

Sure, but there always seems to be something that needs to be shared amongst 
all of the parts. So the root package never ends up completely empty. For 
instance, see Ada.Strings or Ada.Containers.

                       Randy.


  reply	other threads:[~2017-10-07  1:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-04 21:36 Idiomatic formatting for empty package Victor Porton
2017-10-04 22:10 ` Victor Porton
2017-10-05  5:27   ` Re : " Pascal Obry
2017-10-05 18:10     ` marciant
2017-10-05 23:37       ` Randy Brukardt
2017-10-06 20:04         ` marciant
2017-10-07  1:55           ` Randy Brukardt
2017-10-05 23:36 ` Randy Brukardt
2017-10-06  8:47   ` Jeffrey R. Carter
2017-10-07  1:52     ` Randy Brukardt [this message]
2017-10-07  6:55       ` Jeffrey R. Carter
2017-10-09 21:45         ` Randy Brukardt
2017-10-10  7:12           ` Jeffrey R. Carter
2017-10-10 10:21             ` AdaMagica
2017-10-10 14:34               ` Jeffrey R. Carter
2017-10-10 17:38                 ` AdaMagica
2017-10-05 23:49 ` andrewshvets
replies disabled

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