Example for Mir-Random fails

Bastiaan Veelo Bastiaan at Veelo.net
Sat Apr 3 22:04:33 UTC 2021


On Saturday, 3 April 2021 at 19:02:34 UTC, Brad wrote:
> I just do not know enough about the D libraries to figure out 
> what is wrong.  I know it is a case of type mismatch.  The 
> example appears on the Mir-Random page as listed under DUB:
> https://code.dlang.org/packages/mir-random
>
> [...]

I think you are seeing conflicts between Phobos and Mir: they 
both provide unpredictableSeed and Random. If you want to use the 
ones from Mir, be sure to not import std or std.random, or use 
fully qualified names.

— Bastiaan.


More information about the Digitalmars-d-learn mailing list