6 Dec
2004
6 Dec
'04
9:21 p.m.
On 06 December 2004 06:03, Adam Megacz wrote:
Hrm, is the GHC "magic memo function" still around? In 5.0.4 it was in util, but I can't seem to find it in 6.2.2.
It's still there in module Memo, in the util package. It's scheduled for demolition in 6.6. Cheers, Simon
8 Dec
8 Dec
5:10 p.m.
New subject: did util.memo vanish?
"Simon Marlow"
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. - a
7651
Age (days ago)
7653
Last active (days ago)
1 comments
2 participants
participants (2)
-
Adam Megacz -
Simon Marlow