On Thu, 23 Oct 2008 23:47:59 +0200, Bill Baxter <[EMAIL PROTECTED]> wrote:

On Fri, Oct 24, 2008 at 5:48 AM, Simen Kjaeraas <[EMAIL PROTECTED]> wrote:

   writefln(√(c.foo)); // I thought this should work in D today, using
"alias sqrt √;", but it seems the compiler chokes on it. :(

According to the spec, you can can only use "UniversalAlpha" Unicode
characters in your identifiers.  Supposedly those are defined in
ISO/IEC 9899:1999(E) Appendix D.  But I'm guessing the ISO did not
define square-root-symbol as an alpha character.

--bb

That seems to make sense indeed.

--
Simen

Reply via email to