On Saturday, 8 June 2024 at 20:53:02 UTC, Nick Treleaven wrote:
On Saturday, 8 June 2024 at 16:09:04 UTC, monkyyy wrote:rng is an optional parameter, `uniform(0,100).writeln;` alone works; the docs not telling you that is really badThey do tell you:urng (optional) random number generator to use; if not specified, defaults to rndGenThat overload is used in the 2nd example. https://dlang.org/phobos/std_random.html#.uniform
generate is a very rare function and do novices understand lamdas?