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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to