如果输入以下内容:brew install haskell-stack
我明白了:Warning: haskell-stack 2.9.1 is already installed and up-to-date.
所以应该安装堆栈。
然后输入以下内容:brew install ghc
然后又来了:
==> Downloading https://ghcr.io/v2/homebrew/core/ghc/manifests/9.2.4
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ghc/blobs/sha256:9958adc0fe9861
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh
######################################################################## 100.0%
==> Pouring ghc--9.2.4.monterey.bottle.tar.gz
==> /usr/local/Cellar/ghc/9.2.4/bin/ghc-pkg recache
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
==> Summary
/usr/local/Cellar/ghc/9.2.4: 7,752 files, 1.5GB
==> Running `brew cleanup ghc`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).现在怎么办?当我输入ghc之后,什么都不会发生,所以还不应该安装它。
发布于 2022-11-24 16:51:57
尝试安装Visual代码并从其中添加Haskell。
https://stackoverflow.com/questions/74141822
复制相似问题