How to pass Parameters to ghci by use of TemplateHaskell?
-
19-10-2022 - |
문제
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.
올바른 솔루션이 없습니다
제휴하지 않습니다 StackOverflow