0
使用Data.Binary.decodeFile我試圖編譯如下:在耶索德處理
postRQuery :: Handler RepHtml
postRQuery = do
properties <- liftIO $ decodeFile "store" :: IO (Map String())
defaultLayout [whamlet|Posted!|]
,但我得到了以下編譯器錯誤:我如何使用數據
任何想法。 Yesod處理程序中的Binary.decodeFile?