[Template-haskell] Profiling with Template Haskell

Simon Marlow simonmar@microsoft.com
Wed, 3 Sep 2003 09:53:04 +0100

> Then, all you need do is
> 	compile C-code without -prof
> 	compile R-code with -prof

But we only have one kind of "import", which imports a module both at
compile-time and run-time.  You'd be forced to link in the C-code
modules in the final program, and I'm pretty sure something will go
wrong even if the program doesn't end up referring to anything from
those modules.