[Haskell-cafe] Type checking the content of a string

Francesco Mazzoli f at mazzo.li
Fri Feb 22 20:30:24 CET 2013


At Fri, 22 Feb 2013 19:43:51 +0100,
Corentin Dupont wrote:
> Hi Adam,
> that looks interresting. I'm totally new to TH and QuasiQuotes, though.
> Can I run IO in a QuasiQuoter? I can run my own interpreter.

Yes, you can:
<http://hackage.haskell.org/packages/archive/template-haskell/2.8.0.0/doc/html/Language-Haskell-TH.html#v:runIO>.

Francesco



More information about the Haskell-Cafe mailing list