Home > database >  Problem with cabal : cabal init does not create Main.hs
Problem with cabal : cabal init does not create Main.hs

Time:10-04

I am having a problem with Cabal that when I initialise a new project, Main.hs is not there.

Just following the documentation https://cabal.readthedocs.io/en/3.6/getting-started.html#installing-the-haskell-toolchain

My cabal version is mentioned below.

cabal-install version 1.18.0.5
using version 1.18.1.3 of the Cabal library 

CodePudding user response:

I was using an old version of cabal, as Noughtmare rightly pointed out!

  • Related