Checking if a string is null
Bruno Medeiros
brunodomedeiros+spam at com.gmail
Sun Jul 29 04:45:13 PDT 2007
Manfred Nowak wrote:
> Bruno Medeiros wrote
>
>> (What made you do that in the first place?)
>
> Because arrays should approximately form a mathematical Kleene Algebra
> at the semantical level. These have two different neutral elements 0
> and 1, so that concatenation and 1 are required to form a monoid.
>
>
I dont' get it, in D's arrays, what are the neutral elements 0 and 1? A
zero length, and a one-length array, respectively? Or something else?
And how can there be two different neutral elements?
--
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
More information about the Digitalmars-d
mailing list