3 ms·
My recollection from the last time I worked with D was that pure could be more complicated and strict than expected when using standard libraries functions, e.g
by buzzybee 10y ago
My recollection from the last time I worked with D was that pure could be more complicated and strict than expected when using standard libraries functions, e.g. using trigonometry sets hardware global state, thus impure. I don't remember if there was a good workaround to convey intent of purity despite that.
- p0nce 9y agoIn D "pure" means "referentially transparent".