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


-- | A simple (but internally ugly) memoization function.
--   
--   <ul>
--   <li>New in 0.1.0.1: Make it exception safe.</li>
--   </ul>
@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 <a>memoIO</a>.
memo :: Ord a => (a -> b) -> a -> b
