comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: My bug or else regarding Visibility Rules
Date: Tue, 02 Apr 2013 09:26:12 +0100
Date: 2013-04-02T09:26:12+01:00	[thread overview]
Message-ID: <lywqslgwyj.fsf@pushface.org> (raw)
In-Reply-To: d09afc35-2ca5-4b45-9734-7263e6d353c4@googlegroups.com

Anh Vo <anhvofrcaus@gmail.com> writes:

> I try to put as much as post-conditions that the language allows. On
> the other hand, I do not want to expose any thing that the clients can
> modify. In addition, taking away post-conditions involving Buffer,
> In_Index, and Out_Index objects by moving them into the body does
> degrade much implementation promise in this case.

This is (partly) why we now have expression functions; specify the
function in the public part, use it in a pre/postcondition, complete it
with an expression function in the private part when Buffer etc. are
visible.



  reply	other threads:[~2013-04-02  8:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-28 19:54 My bug or else regarding Visibility Rules Anh Vo
2013-03-28 20:58 ` Adam Beneschan
2013-03-28 22:03   ` Randy Brukardt
2013-03-30  6:05     ` Anh Vo
2013-04-02  0:56       ` Randy Brukardt
2013-04-02  1:52         ` Anh Vo
2013-04-02  8:26           ` Simon Wright [this message]
2013-04-02 18:17             ` Anh Vo
2013-04-02 20:16               ` Simon Wright
2013-04-03 23:21                 ` Anh Vo
2013-04-04  8:19                   ` Simon Wright
2013-04-04 19:21                     ` Anh Vo
2013-04-04 19:47                       ` Simon Wright
2013-04-02 22:04           ` Randy Brukardt
2013-03-28 22:06   ` Anh Vo
replies disabled

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