comp.lang.ada
 help / color / mirror / Atom feed
From: Laurent Guerby <guerby@acm.org>
Subject: Re: Calendar - leap seconds
Date: 20 Mar 2001 20:23:31 +0100
Date: 2001-03-20T19:20:12+00:00	[thread overview]
Message-ID: <86lmq0jlcc.fsf@acm.org> (raw)
In-Reply-To: 997bjh$kft$1@ID-25716.news.dfncis.de

"Nick Roberts" <nickroberts@adaos.worldonline.co.uk> writes:

> "Laurent Guerby" <guerby@acm.org> wrote in message
> > This could be fixed by having separate packages offering all non
> > IO/time services, and just renaming declarations inside the IO/time
> > packages. The last point (renaming) is just implementation, it could
> > be just left out of the standard and be put as a RM note, this is to
> > say it shouldn't put a significant burden on implementors (move code
> > and put a few renames) and should be 100% upward compatible for users.
> 
> Not exactly. It would not fix the fact that Ada.Calendar and Ada.Text_IO
> cannot be pure.
> 
> On the other hand, it would be a nice fix to introduce two new standard,
> declared pure, packages Ada.Calendar_Conversions (with everything in
> Ada.Calendar except Clock, and perhaps more) and Ada.Text_Formatting (with
> everything in Ada.Text_IO except actual I/O operations). Implementations
> would then (almost) inevitably complete the corresponding declarations in
> Ada.Calendar and Ada.Text_IO by body renamings.

I think we're saying the same thing here.  Ada.Calendar and
Ada.Text_IO cannot be pure for sure, but the new packages (I called
them "separate package", you gave them explicit names) can be.

-- 
Laurent Guerby <guerby@acm.org>



  reply	other threads:[~2001-03-20 19:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-17 17:46 Calendar - leap seconds singlespeeder
2001-03-18 15:53 ` Wilhelm Spickermann
2001-03-19  3:47   ` Nick Roberts
2001-03-19 14:43     ` Robert A Duff
2001-03-19 20:10       ` Laurent Guerby
2001-03-20 10:26         ` Nick Roberts
2001-03-20 19:23           ` Laurent Guerby [this message]
2001-03-20 11:34   ` Joseph P Vlietstra
2001-03-20 13:08     ` Wilhelm Spickermann
2001-03-31 14:07       ` Kent Paul Dolan
2001-04-01 11:57         ` Simon Wright
replies disabled

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