Question

I use ghc with TemplateHaskell. Somebody told me, that ghc itself uses ghci during compilation time to implement TemplateHaskell. Is there a way to pass parameters to ghci which may differ from the parameters used in ghc?

Reason for my question: I always get an error message when I use -dynamic with ghc during the phase TemplateHaskell is executed. So I want to try to pass -static to the ghci interpreter while still using -dynamic for ghc.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top