comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: Kilogram constant defined in package System.Dim.Other_Prefixes (s-dmotpr.ads)
Date: Wed, 5 Feb 2014 01:30:59 -0800 (PST)
Date: 2014-02-05T01:30:59-08:00	[thread overview]
Message-ID: <aa287d69-d20a-4295-963d-40c8f932a241@googlegroups.com> (raw)
In-Reply-To: <op.xass4lkqule2fv@cardamome>

This is a GNAT specific use of Ada's new attribute feature. It's a quite ingenious way to program with SI unit checking. Search for "GNAT and Dimension Checking" in CLA for my original post. Alas there wasn't a lot of reaction. The method has substantially improved since, but still has some deficiencies.

      reply	other threads:[~2014-02-05  9:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-04 17:26 Kilogram constant defined in package System.Dim.Other_Prefixes (s-dmotpr.ads) Anh Vo
2014-02-04 17:44 ` adambeneschan
2014-02-04 18:10   ` G.B.
2014-02-04 18:16     ` adambeneschan
2014-02-04 18:22       ` adambeneschan
2014-02-04 18:19 ` Ludovic Brenta
2014-02-04 19:44   ` Anh Vo
2014-02-05  7:44 ` Yannick Duchêne (Hibou57)
2014-02-05  9:30   ` AdaMagica [this message]
replies disabled

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