RE: memo problems with ghc (and not with hugs)

2002-04-19 Thread Simon Marlow
I'm using memoized copying functions to maximize sharing in a tree/dag. It works under Hugs but not GHCi 5.03 on Windows XP. I'm stuck here and so would sure appreciate some help. I've attached a simple demo module with examples that illustrate the problem. There are some differences

RE: EVACUATED object entered!

2002-04-19 Thread Simon Marlow
Sounds bad. I'm getting it under ghc-5.03.20020208 on WinXP. My program uses stable names but is otherwise fairly tame. Any pointers on what this message means and what causes it? - Conal It indicates a bug, possibly related to garbage collection. Could you send us the

Re: memo problems with ghc (and not with hugs)

2002-04-19 Thread Alastair Reid
There are some differences between Hugs GHC's memo table implementations, and some shortcomings in the GHC implementation. Actually, I'd say the shortcomings are in the Hugs implementation. The main difference is that Hugs uses not just pointer equality but also real equality when the