13.05.2021 16:30, Alain De Vos пишет: > Shouldn't the compiler error it is not pure ? > Or have I a wrong understanding of pure or the compiler. The function is pure. If you call it several times passing the same argument it will return the same result. https://run.dlang.io/is/futqjP