Jonathan M Davis wrote:
On Friday, December 23, 2011 23:09:32 Piotr Szturmaj wrote:
Johannes Pfau wrote:
Related question to the SHA/MD5 hash functions: could those be pure?

Weakly pure, yes - but for what?

In general, if a function _can_ be pure, it _should_ be pure. If it can be and
it isn't, it artificially restricts the types of functions which can call it.

Yes, Johannes probably want to mark uuid hash gen as pure. I just wanted to know if its something important as my code used memcpy which is impure.

Reply via email to