On 23/04/12 19:46, Joseph Rushton Wakeling wrote:
On 23/04/12 18:56, bearophile wrote:
jerro:

return repeat(0).map!(_ => uniform(lower, upper))();


Yes, this works nicely. Thanks very much!

Is this a new addition?  With GDC I get a compiler error:

  expression expected, not '>'

... suggesting => isn't supported.

Reply via email to