comp.lang.ada
 help / color / mirror / Atom feed
From: Markus E Leypold <development-2006-8ecbb5cc8aREMOVETHIS@ANDTHATm-e-leypold.de>
Subject: Re: Generic Package
Date: Sun, 29 Apr 2007 18:26:27 +0200
Date: 2007-04-29T18:26:27+02:00	[thread overview]
Message-ID: <u9slajywng.fsf@hod.lan.m-e-leypold.de> (raw)
In-Reply-To: 19qllkvm6ut42$.1iqo74vjgmsrv$.dlg@40tude.net


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

> On Fri, 27 Apr 2007 13:43:58 +0200, Markus E Leypold wrote:
>
>> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
>> 
>>> On Thu, 26 Apr 2007 22:52:58 +0100, Simon Wright wrote:
>>>
>>>> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
>>>> 
>>>>> You cannot iterate a relational table, because there is no order
>>>>> defined on it.
>>>> 
>>>> Why would that stop me iterating over all the rows?
>>>
>>> Because iterating presumes following an order. If there is no *any* order,
>>> which one would you follow? 
>> 
>> None. Iteration gives the values in a certain sequence,
>
> "Sequence" is defined as an ordered [and countable] set.

So what? 

Both, 1,2,3 aand 3,1,2 are possible sequences suitable for iterating
over the set "all positive numbers below 4". One even needn't to get
the same sequence on every iteration which somewhat disqualifies the
idea that the set would have to be ordered so that I could iterate
over it.

Your implication was, that is impossible to "iterate" over the
components/elements of structures/compounds which are not
ordered. Admittedly the implementation is introducing an ad hoc order
at the moment and for the moment the iteration takes place, but
actually I don't care and a massively parallel machine might even
choose to perform operations on single elements in parallel. But your
point was that it is __impossible__ to iterate over such "unordered"
structures, which is -- in my eyes -- patent nonsense. Every actual
sequence of iteration would suffice and I think that the sentence
"iterate over the set ..."  could be well applied in this case under
every useful meaning (and it can even be defined formally).

But of course YMMV: People like me who do not think that every real
programs are trivial, might not grasp your logic completely and not
achieve your precision of definition.

>>> It is clear that we could enumerate anything on
>>> a real computer, but that would be same as Unchecked_Conversion, it would
>>> break the abstraction. 
>> 
>> So I'm having an unchecked operation if I enumerate elements of a set
>> (sets are unordered). How embarrasing.
>
> Yes, because that set is a representation [model] of some other [domain
> space] set which could be fundamentally unordered and/or uncountable. As an

Uncountable is another issue. You're ditching the original issue again
(how familiar this has become to me ...). You said "one cannot iterate
over realtional tables, because they are unordered". Realtional tables
are not uncountable, so stick to the issue at hand, Dmitry. 

<snipped off topic "example">

> After interating reals we could proceed to complex numbers...

Which has nothing at all to do  with relational tables. 

I'd be really indebted to you, if you stuck to the topic you
introduced (can one iterate over relational tables) and didn't give in
to the brainstorm of completely unrelated fragments from mathematics
and computer science that seems to afflict you every time one starts
to discuss with you topics from computer science you yourself
introduced.

BTW: Your best way out of the corner into which you painted yourself
again might be to define "relational tables" as tables with an
uncountable number of tuples/rows -- in quite the style in which you
defined "trivial program".

Regards -- Markus



  parent reply	other threads:[~2007-04-29 16:26 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
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 [this message]
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