[Haskell-cafe] serializing large data structures, stack overflow

Bulat Ziganshin bulat.ziganshin at gmail.com
Sat Mar 7 15:29:11 EST 2009


Hello friggin,

Saturday, March 7, 2009, 10:57:04 PM, you wrote:

> dec = B.decodeFile "C:/users/saftarn/desktop/bintest.txt" >>= \a ->
>        return $ (a :: M.Map (Int,Int) Int)

just a quick style hack:

dec = B.decodeFile "C:/users/saftarn/desktop/bintest.txt" :: IO (M.Map (Int,Int) Int)

-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list