did util.memo vanish?
adam at megacz.com
Wed Dec 8 04:10:19 EST 2004
"Simon Marlow" <simonmar at microsoft.com> writes:
> It's still there in module Memo, in the util package. It's scheduled
> for demolition in 6.6.
Huh... why? It's pretty convenient, especially if you're aware of the
relevant GC issues and don't mind them.... although I do wish that
there were a version of type
(Storable a, Eq a) => (a -> b) -> (a -> b)
that would use hash-the-bitserialized-representation equality rather
than pointer/stableName equality.
More information about the Glasgow-haskell-users