<div dir="ltr">So of course it does work after removing a typo in a test function! Ignore me..</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 15, 2014 at 1:54 PM, Markus Läll <span dir="ltr"><<a href="mailto:markus.l2ll@gmail.com" target="_blank">markus.l2ll@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Cafe,<div><br></div><div>I'm wondering how to run a custom preprocessor with "cabal repl"?</div>
<div><br></div><div>The case is that I have a package with an executable and a library. The executable works fine with "ghc-options: -F -pgmF ./xxx.sh" in its cabal config section, but the library seems to ignore it when I put the same line into the library's section and then run "cabal repl". Also, the substitutions didn't happen when running GHC directly with -F and -pgmF in expression mode (-e).<span class="HOEnZb"><font color="#888888"><br clear="all">

<div><br></div>-- <br>Markus Läll<br>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Markus Läll<br>
</div>