-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/

-- | A simple (but internally ugly) memoization function.
--   
--   A simple (but internally ugly) memoization function.
--   
--   
--   
- New in 0.1.0.1: Make it exception safe.
--   
@package uglymemo
@version 0.1.0.1

module Data.MemoUgly

-- | Memoize the given function by allocating a memo table, and then
--   updating the memo table on each function call.
memoIO :: Ord a => (a -> b) -> IO (a -> IO b)

-- | The pure version of memoIO.
memo :: Ord a => (a -> b) -> a -> b
