From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: String Problem
Date: Thu, 8 Sep 2005 09:23:25 +0200
Date: 2005-09-08T09:23:14+02:00 [thread overview]
Message-ID: <7r7vpvcetypn.1dbi0rpoxkyku$.dlg@40tude.net> (raw)
In-Reply-To: IfMTe.2473$9x2.1703@newsread3.news.pas.earthlink.net
On Thu, 08 Sep 2005 01:14:16 GMT, Jeffrey R. Carter wrote:
> Similar uses of the phrase "null string" may be found in the descriptions of the
> various Ada.Strings.* packages, and in other places. It does not seem to ever be
> described. The meaning seems to be a value of type String with 'Length = 0, or
> a[n] [Un]Bounded_String such that the function Length returns 0. It could also
> be defined as a string that is equal to "".
It could also be: "null string" is an identity element (zero) for the
concatenation (&): for any A : String "" & A = A and A & "" = A. It makes
sense if we consider strings as atomic values. "Empty string" corresponds
the view on strings as containers/sets.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
prev parent reply other threads:[~2005-09-08 7:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-06 21:15 String Problem TC
2005-09-06 21:28 ` Hyman Rosen
2005-09-07 19:33 ` Tapio Marjom�ki
2005-09-07 21:34 ` Ludovic Brenta
2005-09-08 13:25 ` Marc A. Criley
2005-09-08 17:25 ` Martin Krischik
2005-09-07 16:45 ` Martin Krischik
2005-09-07 21:53 ` Brian May
2005-09-08 1:14 ` Jeffrey R. Carter
2005-09-08 7:23 ` Dmitry A. Kazakov [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox