From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ae5e339df4dff313,start X-Google-Attributes: gid103376,public From: Wes Groleau Subject: Language Lawyer question Date: 2000/06/02 Message-ID: <39380CEB.2CC4682E@ftw.rsc.raytheon.com>#1/1 X-Deja-AN: 630341113 Content-Transfer-Encoding: 7bit X-Accept-Language: en,es,fr,pt Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@ext.ray.com X-Trace: bos-service2.ext.raytheon.com 959974636 151.168.144.162 (Fri, 02 Jun 2000 15:37:16 EDT) Organization: Raytheon Company MIME-Version: 1.0 NNTP-Posting-Date: Fri, 02 Jun 2000 15:37:16 EDT Newsgroups: comp.lang.ada Date: 2000-06-02T00:00:00+00:00 List-Id: 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