[Haskell-cafe] ANNOUNCE: text-json-qq 0.2.0 (now with
haskell-src-meta goodness)
Oscar Finnsson
oscar.finnsson at gmail.com
Fri Aug 20 18:28:27 EDT 2010
Hi,
I've just uploaded a new version of text-json-qq, the json quasiquoter.
Now it's possible (thanks to haskell-src-meta) to insert Haskell code
inside the qq-code:
> myCode = [$jsonQQ| {age: <| age + 34 :: Integer |>, name: <| map toUpper name |>} |]
> where age = 34 :: Integer
> name = "Pelle"
For further info read the documentation at
http://hackage.haskell.org/package/text-json-qq
or read/fork the source code at
http://github.com/finnsson/text-json-qq
-- Oscar
More information about the Haskell-Cafe
mailing list