comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Fun: the Ada assignment operator is an alias of the equivalence operator
Date: Sat, 28 May 2011 10:02:51 +0200
Date: 2011-05-28T10:02:51+02:00	[thread overview]
Message-ID: <op.vv6ly1vkule2fv@douda-yannick> (raw)
In-Reply-To: mo17glnzuctx$.2pvurnwy3w7c$.dlg@40tude.net

Le Sat, 28 May 2011 09:25:40 +0200, Dmitry A. Kazakov  
<mailbox@dmitry-kazakov.de> a écrit:
> I didn't see that usage of ":=" ("Defined-as" is not same "equivalent").
>
> For "defined-as" I saw "=" with a small triangle or word "def" under it.
http://www.unicode.org/charts/PDF/U2200.pdf agree with you
Says
    225C ≜ DELTA EQUAL TO = equiangular = equal to by definition
    2261 ≡ IDENTICAL TO

(a bit ambiguous)

> Assignment is not a logical operation, variables are not logical
> predicates.
Nor "defined-as" is ;)

":=" would be OK for constant, makes Ada looks a bit more functional :p

-- 
“Syntactic sugar causes cancer of the semi-colons.”  [Epigrams on  
Programming — Alan J. — P. Yale University]
“Structured Programming supports the law of the excluded muddle.” [Idem]
“c++; /* this makes c bigger but returns the old value */” [Anonymous]



  reply	other threads:[~2011-05-28  8:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-28  0:48 Fun: the Ada assignment operator is an alias of the equivalence operator Yannick Duchêne (Hibou57)
2011-05-28  7:25 ` Dmitry A. Kazakov
2011-05-28  8:02   ` Yannick Duchêne (Hibou57) [this message]
2011-05-28  9:03     ` Dmitry A. Kazakov
2011-05-28  9:19       ` Yannick Duchêne (Hibou57)
2011-05-28  9:58         ` 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