"with" still sucks + removing features + adding features

bearophile bearophileHUGS at lycos.com
Wed May 20 07:50:54 PDT 2009


Denis Koroskin:
> It also gracefully solves an issue with uniform distribution
> uniform(0..int.max)  - exclusive
> uniform(0...int.max) - inclusive (can't be replaced with 0..int.max+1)

To avoid the possible confusion caused by ... Chapel uses ..#

uniform(0 .. int.max)  - exclusive
uniform(0 ..# int.max) - inclusive

Bye,
bearophile



More information about the Digitalmars-d mailing list