CorentinThanks!Is that possible?import $(genImport "MyPackage")For example:What I want to do is to generate the names of the packages I need to import.Hi guys,I wanted to know if it's possible to use TH on an "import" statement.
genImport :: String -> Q TH.Exp
genImport s = ...
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe