Don Clugston wrote:
std.complex needs be to firmly established as a complete replacement
for creal et. al, before they can be declared deprecated. We're not
there yet (writefln of complex numbers didn't work in the last
release).

Agreed.

Even when it happens, functions like writeln should behave a bit more
gracefully. Does it do the same thing with other unusual types?

Well it's funny. formattedWrite does behave nicely with unusual structs, but I emphasize - structs. The complex types are not structs so they aren't handled "nicely".

It's also worth noting that moving associative arrays to a library
type has been very painful. Nearly ten releases later, we still have
some horrible regressions. Doing the same thing with complex needs to
be done very carefully.

Agreed. I think and hope that the pain is well worth it.


Andrei
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to