Minor fixes not in Github
This commit is contained in:
parent
56d22c4fe2
commit
42be5de2d1
@ -52,3 +52,8 @@ jsonList = J.Array . V.fromList
|
||||
|
||||
jsonMap :: [(String, Json)] -> Json
|
||||
jsonMap = J.Object . fromList . map (first pack)
|
||||
|
||||
{- FIXME
|
||||
instance ToJavascript J.Value where
|
||||
toJavascript = fromLazyText . decodeUtf8 . toLazyByteString . JE.renderValue
|
||||
-}
|
||||
|
||||
@ -13,7 +13,7 @@ homepage: http://docs.yesodweb.com/
|
||||
|
||||
library
|
||||
build-depends: base >= 4 && < 5
|
||||
, yesod-core >= 0.7 && < 0.8
|
||||
, yesod-core >= 0.8 && < 0.9
|
||||
, aeson >= 0.3.1.1 && < 0.4
|
||||
, text >= 0.8 && < 0.12
|
||||
, vector
|
||||
|
||||
Loading…
Reference in New Issue
Block a user