A simple (but internally ugly) memoization function.

Homepage:
http://hackage.haskell.org/package/uglymemo
