Cabal output is redirected but not generated

后端 未结 2 1125
你的背包
你的背包 2020-12-07 01:00

I have a fairly simple haskell project set up, where I just want to have the framework working with testing and so on before I actually start coding. I have my source files

2条回答
  •  清歌不尽
    2020-12-07 01:49

    You should define module name in your TestSuite.hs file as Main, like there for example.

    A quote from The Haskell 98 Report:

    A Haskell program is a collection of modules, one of which, by convention, must be called Main and must export the value main.

提交回复
热议问题