comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: character literals
Date: Wed, 12 Feb 2014 18:55:26 +0100
Date: 2014-02-12T18:55:26+01:00	[thread overview]
Message-ID: <ldgckb$c40$1@dont-email.me> (raw)
In-Reply-To: <wccob2ciayz.fsf@shell01.TheWorld.com>

Le 12/02/2014 16:53, Robert A Duff a écrit :
>> This is a situation where some programmers might recommend making the
>> > type Integer explicit.
> Like me.  I think the special-case for Integer is a kludge, so I
> would write:
> 
>     for I in Some_Type range 0 .. 9 loop
<shameless_plug> and this can be enforced by AdaControl with the rule:
check statements (untyped_for);
</shameless_plug>

-- 
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr

  reply	other threads:[~2014-02-12 17:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-11 22:27 character literals agent
2014-02-11 22:49 ` J-P. Rosen
2014-02-11 23:45   ` Bill Findlay
2014-02-11 23:49     ` Ludovic Brenta
2014-02-11 23:58       ` adambeneschan
2014-02-11 23:56 ` adambeneschan
2014-02-12  0:18   ` adambeneschan
2014-02-12  1:34     ` agent
2014-02-12  2:03       ` adambeneschan
2014-02-12 12:50         ` agent
2014-02-12  1:30   ` Jeffrey Carter
2014-02-12  1:50     ` adambeneschan
2014-02-12 15:53   ` Robert A Duff
2014-02-12 17:55     ` J-P. Rosen [this message]
2014-02-14 12:39       ` agent
2014-02-14 18:36         ` AdaControl was: " Simon Clubley
2014-02-15  6:26         ` J-P. Rosen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox