comp.lang.ada
 help / color / mirror / Atom feed
* Dimensions in Ada
@ 2012-12-28 15:22 Álex R. Mosteo
  2012-12-28 19:50 ` jpwoodruff
  2013-01-03 12:27 ` AdaMagica
  0 siblings, 2 replies; 4+ messages in thread
From: Álex R. Mosteo @ 2012-12-28 15:22 UTC (permalink / raw)


I have vague remembrances of past discussions about unit systems in Ada; at 
least three ways of doing it, none of them totally satisfying.

Today I have stumbled in the following Ada Gem from AdaCore:

"This Gem outlines the new GNAT dimensionality checking system. This feature 
relies on Ada 2012 aspect specifications, and is available from version 
7.0.1 of GNAT onwards."

http://libre.adacore.com/adaanswers/gems_single/gem-136-how-tall-is-a-
kilogram

I lack the knowledge to judge it against the other options, which I don't 
even remember, but I'd like to hear opinions from interested parties. It 
uses a GNAT-specific aspect, so may be that provides (or not) the necessary 
magic to close the gap in previous approaches? That's what first comes to my 
mind...



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-01-03 12:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-28 15:22 Dimensions in Ada Álex R. Mosteo
2012-12-28 19:50 ` jpwoodruff
2012-12-28 21:26   ` jpwoodruff
2013-01-03 12:27 ` AdaMagica

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