<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Sep 13, 2016 at 3:13 PM, Kyle Ondy <span dir="ltr"><<a href="mailto:kyle@ondy.me" target="_blank">kyle@ondy.me</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 16-09-13 12:07, Theodore Lief Gannon wrote:<br>
> Stack *does* allow direct interaction with GHC:<br>
><br>
> stack exec -- ghc version<br>
><br>
</span>I find `stack ghc -- --version` to be a bit easier. Anything after the `--` is<br>
passed as an argument to ghc.<br></blockquote><div><br></div><div>I actually find this part a little unfair; stack parses its parameters the same way cabal does.</div><div><br></div><div>> stack exec -- ghc --version</div><div>> cabal exec -- ghc --version</div><div>Both need the -- to prevent --version from being eaten by stack/cabal respectively. (GNU "permute" argument parsing. urgh.) </div></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>