cabal 问题:cabal init 不创建 Main.hs
Problem with cabal : cabal init does not create Main.hs
我在使用 Cabal 时遇到问题,当我初始化一个新项目时,Main.hs 不存在。
只要按照文档https://cabal.readthedocs.io/en/3.6/getting-started.html#installing-the-haskell-toolchain
我的cabal版本如下。
cabal-install version 1.18.0.5
using version 1.18.1.3 of the Cabal library
正如 Noughtmare 正确指出的那样,我使用的是旧版本的 cabal!
我在使用 Cabal 时遇到问题,当我初始化一个新项目时,Main.hs 不存在。
只要按照文档https://cabal.readthedocs.io/en/3.6/getting-started.html#installing-the-haskell-toolchain
我的cabal版本如下。
cabal-install version 1.18.0.5
using version 1.18.1.3 of the Cabal library
正如 Noughtmare 正确指出的那样,我使用的是旧版本的 cabal!