[Haskell-cafe] template haskell -- include a file?

Bulat Ziganshin bulat.ziganshin at gmail.com
Fri Sep 12 16:21:13 EDT 2008

Hello Jason,

Friday, September 12, 2008, 11:47:44 PM, you wrote:

>   I'd like to use template Haskell to include as a string in a
>   Haskell file. How do I do it?

TH is a typed macrosystem - you generate special datastructure
representing haskell code rather than untyped strings

>   Is there any lengthy documentation with examples for Template
>   Haskell? The pages linked to from `haskell.org` are a little
>   sparse.

look for "Bulat's tutorials" at http://haskell.org/haskellwiki/Template_Haskell
although they both are unfinished

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list