
On Tue, Sep 13, 2016 at 3:13 PM, Kyle Ondy
On 16-09-13 12:07, Theodore Lief Gannon wrote:
Stack *does* allow direct interaction with GHC:
stack exec -- ghc version
I find `stack ghc -- --version` to be a bit easier. Anything after the `--` is passed as an argument to ghc.
I actually find this part a little unfair; stack parses its parameters the same way cabal does.
stack exec -- ghc --version cabal exec -- ghc --version Both need the -- to prevent --version from being eaten by stack/cabal respectively. (GNU "permute" argument parsing. urgh.)
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net