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: 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

memo problems with ghc (and not with hugs)

2002-04-18 Thread Conal Elliott
Im using memoized copying functions to maximize sharing in a tree/dag. It works under Hugs but not GHCi 5.03 on Windows XP. Im stuck here and so would sure appreciate some help. Ive attached a simple demo module with examples that illustrate the problem. - Conal MemoTest.hs