default random object?

bearophile bearophileHUGS at lycos.com
Sat Feb 14 06:44:28 PST 2009


Christopher Wright:
> I always have to look up whether "[]" is exclusive or inclusive.

A cute thing for you: where I live in Mathematics we use a different syntax:
[1, 10] <= closed interval
]1, 10[ <= open interval
[1, 10[ <= interval open on the right
]1, 10] <= interval open on the left


> So, might I suggest using an enum rather than a string mixin?

Argh! :-)

Bye,
bearophile



More information about the Digitalmars-d mailing list