相关疑难解决方法(0)

升级haskell堆栈使用的ghc版本

我正在尝试将我为 haskell 堆栈安装的 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 …
Run Code Online (Sandbox Code Playgroud)

haskell haskell-stack

5
推荐指数
1
解决办法
1244
查看次数

标签 统计

haskell ×1

haskell-stack ×1