comp.lang.ada
 help / color / mirror / Atom feed
From: Markus E Leypold <development-2006-8ecbb5cc8aREMOVETHIS@ANDTHATm-e-leypold.de>
Subject: Re: Generic Package
Date: Wed, 02 May 2007 16:21:45 +0200
Date: 2007-05-02T16:21:45+02:00	[thread overview]
Message-ID: <ervefbb91i.fsf@hod.lan.m-e-leypold.de> (raw)
In-Reply-To: 1d7fjjn90n15q.tz3xkhxpuz5x.dlg@40tude.net


"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:

> On Wed, 02 May 2007 13:48:26 +0200, Georg Bauhaus wrote:
>
>> On Wed, 2007-05-02 at 12:29 +0200, Dmitry A. Kazakov wrote:
>> 
>>>> Memory is not abstract, addresses aren't abstract,
>>> 
>>> In what sense? 
>> 
>> When you write a Set implementation for a PC, you can specifying
>> addresses and refer to addresses in a consistent way.
>
> But I am not required to do so.
>
> BTW 1, it is a quite common programming pattern to share some predefined
> states of the container, usually empty ones, but not only. An
> implementation of a container of integers could have a reserved
> representation for contiguous ranges of integers. For these it would keep
> only From and To. Now, let you have a container holding 1, 2, 3, can you
> point me the address of 2 there?

You're mixing up sufficient and necessary conditions. But never mind:
your argument is so jumbled anyway -- why bother with logic :-(.

> Another typical pattern is some f applied to the actually kept values, so
> "()" actually is a composition f o "()". So what is in the container?
>
> BTW 2, it is sort of surprising to have such a discussion in c.l.a., for
> Ada was one of the first languages introducing a clear distinction between
> interface and implementation.

Which you have been ignoring all along. The set implementation might
use some natural order on the _representation_ of the items, but need
not expose it. What one sees (interface) is a set. The order would
only be used internally (but one doesn't need even that).

>>> for I in ... loop
>>>    -- what is I'Address here?
>> 
>> irrelevant without computational model. (I didn't say that the
>> mentioned abstract addressable node is good for everything.
>> But even so, it should not be too difficult to come up with an
>> AS-IF model of how I "work"; otherwise, Ada would have an
>> insurmountable teaching problem, besides other exegetic trouble.)
>
> Huh, argumentation to Turing-completeness is a subject of Godwin's Law...

Look, who's speaking ...

>>>> The proof mentions that Count_Var is initially zero and that
>>>> it is only changed by Add_One. Together with the fact that these
>>>> are (1) a local variable and (2) a local procedure
>>>> closely tied this should imply that pre: Count_Var = 0.
>>> 
>>> So, the precondition is not constant true, it is Count_Var = 0? Then either
>>> 
>>> 1. N = 1
>>> 
>>> or
>>> 
>>> 2. The program is incorrect,
>> 
>> The program is correct; the assumption that Count_Var = 0 is
>> false and not the precondition of Add_One at each time. My fault
>> being sloppy.
>> ("Count_Var is initially zero and ... is only changed
>> by Add_One".)
>
> That still does not describe the precondition of. In particular, where it
> follows that counts S and not something else? S have to appear there.

I have not read GBs specification, but just try to understand
mine. There you see explicitely which set you're iterating over. And I
did not have to use any "order" to specify iteration over a set.

>
>> So there is a well defined
>> operation going on
>
> It might be a well-defined operation, but its outcome is not.

The outcome of a well defined operation (I take that as being well
sepcified) does not have to be deterministic.

>
>>> No, first = [whatever] order. It is same.
>> 
>> How is "whatever order" defined, exactly, and how can I say whatever
>> first book will come given a library?
>
> Merely by saying/writing "first." That defines a book.
>  
>>> Ordering is determined by sole existence of the
>>> librarian who can give you a [first] book and continue to do so.
>> 
>> That is, ordering is an outcome of the librarians operation,
>> not of the books.

> Come on, all orderings are ordered but some orderings are more ordered than
> others? (:-)) _WHAT_ is the difference? 

More likely: What is the meaning of your sentence?

> Let you asked somebody to bring
> you books in their "proper" order. 

Other topic. What does "proper" mean here?

> How can you determine if he does not
> cheat, or just mistakenly used the issue date rather than the birth day of
> the author written in Roman numerals and ordered according to Unicode
> positions?

So? I probably asked to get all those books -- on after the other. I
get them. Wether "he" sorts them according to a predefined order or
not -- who cares? Do I _have_ to determine wether he cheats? No: Every
actual sequence of delivery suffices the requirement. And that is the
point you refuse to see.

And by the way: Ignoring what I say doesn't make you right. It makes
it rather seem probable that you stop "discussing" the moment you're
asked to put your cards upon the table and own up to your claims.

Regards -- Markus




  reply	other threads:[~2007-05-02 14:21 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-25 22:15 Generic Package andrew.carroll
2007-04-26  0:07 ` Jeffrey R. Carter
2007-04-26  7:46   ` Markus E Leypold
2007-04-26  6:02 ` Martin Krischik
2007-04-26  7:57 ` Dmitry A. Kazakov
2007-04-26 15:31 ` andrew.carroll
2007-04-26 16:07   ` Georg Bauhaus
2007-04-26 19:40     ` andrew.carroll
2007-04-26 20:01       ` Georg Bauhaus
2007-04-26 18:54   ` Dmitry A. Kazakov
2007-04-26 21:52     ` Simon Wright
2007-04-27  9:00       ` Dmitry A. Kazakov
2007-04-27 11:11         ` Georg Bauhaus
2007-04-27 12:06           ` Dmitry A. Kazakov
2007-04-27 12:52             ` Markus E Leypold
2007-04-27 14:10             ` Georg Bauhaus
2007-04-27 14:16               ` Dmitry A. Kazakov
2007-04-27 21:44                 ` Georg Bauhaus
2007-04-28  7:38                   ` Dmitry A. Kazakov
2007-04-28 17:50                     ` Simon Wright
2007-04-28 21:04                     ` Ray Blaak
2007-04-29 16:33                       ` Markus E Leypold
2007-04-27 19:44             ` Simon Wright
2007-04-27 20:34               ` Dmitry A. Kazakov
2007-04-27 21:16                 ` Simon Wright
2007-04-28  7:36                   ` Dmitry A. Kazakov
2007-04-27 11:43         ` Markus E Leypold
2007-04-28 17:35           ` Dmitry A. Kazakov
2007-04-28 23:06             ` Georg Bauhaus
2007-04-29  8:19               ` Dmitry A. Kazakov
2007-04-29 15:10                 ` (see below)
2007-04-29 17:48                   ` Dmitry A. Kazakov
2007-04-29 22:36                     ` (see below)
2007-04-30  6:58                       ` Dmitry A. Kazakov
2007-04-30  9:59                         ` Markus E Leypold
2007-04-30 10:01                         ` Markus E Leypold
2007-04-30 10:36                         ` Georg Bauhaus
2007-04-30 10:40                           ` Georg Bauhaus
2007-04-30 12:14                           ` Dmitry A. Kazakov
2007-04-30 14:57                         ` (see below)
2007-04-30 10:30                 ` Georg Bauhaus
2007-04-30 12:16                   ` Dmitry A. Kazakov
2007-04-30 14:48                     ` Georg Bauhaus
2007-04-30 16:29                       ` Dmitry A. Kazakov
2007-04-30 17:24                         ` Georg Bauhaus
2007-04-30 18:54                           ` Dmitry A. Kazakov
2007-04-30 19:29                         ` Simon Wright
2007-04-30 20:04                           ` Dmitry A. Kazakov
2007-05-01  0:11                             ` Markus E Leypold
2007-05-01  9:02                             ` Georg Bauhaus
2007-05-01 10:19                               ` Dmitry A. Kazakov
2007-05-01 13:42                                 ` Georg Bauhaus
2007-05-01 17:16                                   ` Dmitry A. Kazakov
2007-05-01 19:14                                     ` Randy Brukardt
2007-05-01 20:14                                       ` Dmitry A. Kazakov
2007-05-02  7:52                                         ` Markus E Leypold
2007-05-02  8:06                                       ` Markus E Leypold
2007-05-03  0:37                                         ` Randy Brukardt
2007-05-03  8:36                                           ` Markus E Leypold
2007-05-03 23:16                                             ` Randy Brukardt
2007-05-04  0:15                                               ` Markus E Leypold
2007-05-01 21:41                                     ` Georg Bauhaus
2007-05-02  6:57                                       ` Ray Blaak
2007-05-02  8:22                                         ` Markus E Leypold
2007-05-02  8:07                                       ` Markus E Leypold
2007-05-02 10:29                                       ` Dmitry A. Kazakov
2007-05-02 11:48                                         ` Georg Bauhaus
2007-05-02 11:50                                           ` Georg Bauhaus
2007-05-02 13:12                                           ` Dmitry A. Kazakov
2007-05-02 14:21                                             ` Markus E Leypold [this message]
2007-05-03 18:27                                             ` Georg Bauhaus
2007-05-03 19:07                                               ` Dmitry A. Kazakov
2007-05-03 19:49                                                 ` Markus E Leypold
2007-04-29 16:26             ` Markus E Leypold
2007-04-26 21:50   ` Simon Wright
2007-04-27  4:45   ` Jeffrey R. Carter
2007-04-27  7:45     ` Martin Krischik
2007-04-27 22:54       ` Georg Bauhaus
2007-04-30 20:13         ` Matthew Heaney
2007-04-26 20:48 ` andrew.carroll
  -- strict thread matches above, loose matches on Subject: below --
2003-12-02 23:15 Mr. J.
2003-12-03  9:31 ` Dmitry A. Kazakov
2003-12-02 23:13 generic package Ratson Janiv
2003-12-03 17:39 ` Stephen Leake
replies disabled

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