Export toJSON from Yesod module

This commit is contained in:
Michael Snoyman 2012-12-02 11:03:30 +02:00
parent 4d6aab02d4
commit 31619113a0

View File

@ -30,6 +30,7 @@ module Yesod
, julius
, JavascriptUrl
, renderJavascriptUrl
, toJSON
-- ** Cassius/Lucius
, cassius
, lucius
@ -55,6 +56,7 @@ import Network.Wai.Handler.Warp (run)
import System.IO (stderr, hPutStrLn)
import Text.Blaze.Html (toHtml)
import System.Environment (getEnv)
import Data.Aeson (toJSON)
showIntegral :: Integral a => a -> String
showIntegral x = show (fromIntegral x :: Integer)