On 1 December 2013 00:08, bearophile <[email protected]> wrote: > A bit of info about how how Ada language solves the problem of "scope": > > http://www.adacore.com/adaanswers/gems/gem-33/ >
I think that second example should be achievable at compile time in D thanks to CTFE. Regards, Iain.
