From: Wes Groleau <wwgrol@ftw.rsc.raytheon.com>
Subject: Language Lawyer question
Date: 2000/06/02
Date: 2000-06-02T00:00:00+00:00 [thread overview]
Message-ID: <39380CEB.2CC4682E@ftw.rsc.raytheon.com> (raw)
One of my coworkers just asked an interesting question:
Why do we have to write
Some_Type'Pred (Some_Value)
when
Some_Value'Pred
is more natural/intuitive and
carries just as much type info?
I pointed out that there is no type info in a literal (like
Orange'Pred) but he said that the type info would be somewhere
else in the statement. I could not quickly come up with a
counter-example. Plus, how often would we use a literal as
parameter to 'Pred ? Might as well just use the literal value
of the Predecessor.
--
Wes Groleau
http://freepages.genealogy.rootsweb.com/~wgroleau
next reply other threads:[~2000-06-02 0:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-02 0:00 Wes Groleau [this message]
2000-06-02 0:00 ` Language Lawyer question David C. Hoos, Sr.
2000-06-02 0:00 ` Keith Thompson
2000-06-04 0:00 ` Robert I. Eachus
2000-06-05 0:00 ` Robert A Duff
2000-06-05 0:00 ` Robert Dewar
2000-06-05 0:00 ` Robert A Duff
2000-06-02 0:00 ` Paul Graham
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox