我正在尝试将Haskell Stack安装的GHC版本从8.0.2更新到8.2.1,但似乎我缺少了一些东西。
[user@localhost ~]$ stack --resolver ghc-8.2.1 setup
stack will use a sandboxed GHC it installed
For more information on paths, see 'stack path' and 'stack exec env'
To use this GHC and packages outside of a project, consider using:
stack ghc, stack ghci, stack runghc, or stack exec
[user@localhost ~]$ stack ghci
Configuring GHCi with the following packages:
GHCi, version 8.0.2: http://www.haskell.org/ghc/ :? for help
Loaded GHCi configuration from /tmp/ghci7878/ghci-script
Prelude> :q
Leaving GHCi.
我认为在更新stack的ghc版本之后需要进行一些额外的步骤,但我不确定。