[Haskell-cafe] downgrading GHC version on a Mac

Dennis Raddle dennis.raddle at gmail.com
Thu Apr 5 19:41:38 UTC 2018


Sorry, I don't follow what you're saying. What does 'stack-shell' do? How
do I make or choose a resolver?

And is this going to work with GHCJS? Seems simpler to go along with what
GHCJS expects, as there may be a number of auxiliary programs to GHCJS that
expect the same thing.

D


On Thu, Apr 5, 2018 at 11:13 AM, Matt <parsonsmatt at gmail.com> wrote:

> I do not have a system GHC installed. For tools that need it (eg cabal), I
> have an alias `stack-shell` that does `stack exec --no-ghc-package-path
> zsh`. You can use that, with a given resolver (that corresponds to the GHC
> version you want) to have a shell open with the GHC you want to use
> available "globally." I find that this keeps things clean and easy to
> understand.
>
> Matt Parsons
>
> On Thu, Apr 5, 2018 at 12:06 PM, Dennis Raddle <dennis.raddle at gmail.com>
> wrote:
>
>> I'm on a MacBook Pro. I'm not very familiar with software installation.
>>
>> Up until now I've been using Stack for GHC work, and it seems to take
>> care of having the right version of GHC.
>>
>> Now I'm going to use GHCJS, and I need to have a system GHC installed (I
>> believe). At some point in the past I installed the Haskell Platform for
>> Mac, and I have GHC 8.01. But I want to downgrade that to 7.10 so that I
>> don't have to worry about compatibility with GHCJS.
>>
>> How do I go about uninstalling GHC 8 and installing 7.10 in its place?
>> Can I use Homebrew?
>>
>> D
>>
>> _______________________________________________
>> Haskell-Cafe mailing list
>> To (un)subscribe, modify options or view archives go to:
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>> Only members subscribed via the mailman list are allowed to post.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180405/19a1b48a/attachment.html>


More information about the Haskell-Cafe mailing list