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