Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/haskell/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Haskell 堆栈尚未使用GHC&;进行测试;阴谋集团版本_Haskell_Cabal_Haskell Stack - Fatal编程技术网

Haskell 堆栈尚未使用GHC&;进行测试;阴谋集团版本

Haskell 堆栈尚未使用GHC&;进行测试;阴谋集团版本,haskell,cabal,haskell-stack,Haskell,Cabal,Haskell Stack,在我的Haskell项目中,当我运行堆栈时,它显示了以下内容,但仍然运行。这是什么警告?我怎样才能摆脱它 Stack has not been tested with GHC versions above 8.6, and using 8.8.2, this may fail Stack has not been tested with Cabal versions above 2.4, but version 3.0.1.0 was found, this may fail 这只是一个兼容性

在我的Haskell项目中,当我运行堆栈时,它显示了以下内容,但仍然运行。这是什么警告?我怎样才能摆脱它

Stack has not been tested with GHC versions above 8.6, and using 8.8.2, this may fail
Stack has not been tested with Cabal versions above 2.4, but version 3.0.1.0 was found, this may fail

这只是一个兼容性警告。下一个堆栈版本应使用GHC 8.8进行测试,此警告应消失。在此之前,除非您想修改源代码,否则您可能无能为力。

正如其他人所说,这很可能被忽略。如果您想做到超级安全,请编辑stack.yaml并将冲突解决程序降级回14.x(最新版本为14.27)。

您可以在创建项目时指定冲突解决程序以消除此警告:

stack new hello-world simple --resolver=lts-14.27

这只是一个兼容性警告。下一个
堆栈
版本应使用GHC 8.8进行测试,此警告应消失。在此之前,除非您想修改源代码,否则您可能无能为力。