
8 Feb
2017
8 Feb
'17
10:48 p.m.
On 9 February 2017 at 14:40, aditya siram
Hi all, I was wondering if Cabal has a predicate which allows me to only enable options when running GHCi. The use-case is I have a set of `ghc-options` that I do *not* want enabled when I run `cabal repl` or `stack repl`.
If you're not using either of these, then what role does Cabal have to play if you open a file in ghci? Though if it's for ghci options, why not just launch ghci with those options (using a .ghci file in the current directory, etc.)? -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com http://IvanMiljenovic.wordpress.com