comp.lang.ada
 help / color / mirror / Atom feed
From: porton@ex-code.com (Victor Porton)
Subject: Re: Composing sequences (interesting to solve)
Date: Sat, 18 Jan 2003 01:45:34 +0500
Date: 2003-01-17T22:17:26+00:00	[thread overview]
Message-ID: <3e2880f6$0$33930$bed64819@news.gradwell.net> (raw)
In-Reply-To: 3e2620ad$0$33930$bed64819@news.gradwell.net

In article <u1y3cyyd6.fsf@fwilson.i-did-not-set--mail-host-address--so-shoot-me>,
	Fraser Wilson <newsfraser@blancolioni.org> writes:
> porton@ex-code.com (Victor Porton) writes:
> 
>> In article <b06t4c$m4h27$3@id-77047.news.dfncis.de>,> You haven't given me a solution. (I suspect that it is even impossible 
>> in Ada9X.)
> 
> Presented with
> 
>    S & T
> 
> where S is a sequence, and T is something else, how can you know
> whether the desired result is a new sequence of S and T, or the
> sequence S with T tacked onto the end (i.e. an intermediate result
> from "P & Q & T")?  Unless you add an extra rule which says that all
> sequences get merged (i.e. always choose the second option in this
> case), I don't think this is possible.

I mean to merge all sequences at compile time, but probably not at run 
time. Well, now I'm almost sure that it is impossible in Ada (however 
possible in C++). I'm switching to an another syntax.



  parent reply	other threads:[~2003-01-17 20:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-16  3:01 Composing sequences (interesting to solve) Victor Porton
2003-01-16 18:20 ` Dmitry A. Kazakov
2003-01-16 20:09 ` Victor Porton
2003-01-17  8:27   ` Fraser Wilson
2003-01-17 16:27   ` Dmitry A. Kazakov
2003-01-17 20:45 ` Victor Porton [this message]
2003-01-17 21:04 ` Victor Porton
2003-01-18 12:31   ` Dmitry A. Kazakov
replies disabled

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