On 05-Dec-2015 01:48, Andrei Alexandrescu wrote:
On 12/04/2015 03:43 PM, Walter Bright wrote:
On 12/4/2015 10:49 AM, Dmitry Olshansky wrote:
Was vaguely terrified reading this whole thread until hitting this
gem. Seems
like a creative use for UDA.

Yeah, I think it puts UDA on the map!

Instead of string arguments, though, I suggest enums.

"Even better".

http://dpaste.dzfl.pl/50340e189f92

Better still - no more strings:

http://dpaste.dzfl.pl/5ed2b3ad3043


That code is actually remarkably complete, with algebra and remarkable
constants.

Pretty crazy, yo. Thanks all for the great ideas. D is a remarkable
language.


Andrei


--
Dmitry Olshansky

Reply via email to