How to pass Parameters to ghci by use of TemplateHaskell?
-
19-10-2022 - |
Domanda
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.
Nessuna soluzione corretta
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow