Don wrote:
It's a good point though. Actually, I think abs(), and possibly max() and min(), should be in std.object. They're just as fundamental as division.
That's actually a good idea. They don't really fit anywhere else, and as you say, they're incredibly common to use. Not sure if people would object to these symbols being an implicit part of the namespace of every module though.
Sean