comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Best representation for spares
Date: Sun, 16 Feb 2014 12:06:48 +0000
Date: 2014-02-16T12:06:48+00:00	[thread overview]
Message-ID: <lymwhr2rdz.fsf@pushface.org> (raw)
In-Reply-To: 8200939f-9bbd-44dd-848c-00c663f37121@googlegroups.com

"Rego, P." <pvrego@gmail.com> writes:

> So I think it's better to use something like
>
>    type Zero_Bit is new Boolean; 
>    type Zero_Bits is array (Positive range <>) of Zero_Bit; 
>    for Zero_Bits'Component_Size use 1; 

Yes, though 0..1 would have done too; but if you're going to do this
don't call it Zero_Bit! Padding_Bit, perhaps.


  parent reply	other threads:[~2014-02-16 12:06 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-14  1:07 Best representation for spares Rego, P.
2014-02-14  9:19 ` Simon Wright
2014-02-15 16:06   ` Rego, P.
2014-02-15 17:49     ` Jeffrey Carter
2014-02-15 20:21       ` Rego, P.
2014-02-15 19:55     ` Niklas Holsti
2014-02-15 20:25       ` Rego, P.
2014-02-15 21:35         ` Rego, P.
2014-02-16 10:02           ` Niklas Holsti
2014-02-16 13:40             ` Rego, P.
2014-02-16 16:26               ` Rego, P.
2014-02-16 18:50                 ` Niklas Holsti
2014-02-16 16:33               ` Niklas Holsti
2014-02-16 12:10           ` Simon Wright
2014-02-16 13:43             ` Rego, P.
2014-02-16 14:25               ` Robert A Duff
2014-02-16 16:21                 ` Rego, P.
2014-02-15 21:41         ` Jeffrey Carter
2014-02-15 22:37           ` Rego, P.
2014-02-15 22:41             ` Rego, P.
2014-02-16  0:39             ` Jeffrey Carter
2014-02-16 12:06         ` Simon Wright [this message]
2014-02-16 13:45           ` Rego, P.
replies disabled

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