大佬们,出现这个是为什么呀
haskell吧
全部回复
仅看楼主
level 1
这个是在ubuntu下,运行hs文件的时候就报错,提示The I0 action ‘main’ is not defined in module ‘Main’,但这些程序在windows下都是可以正常运行的,现在要用ubuntu,该怎么搞[小乖]
2019年09月16日 09点09分 1
level 6
字面的意思就是 没有定义 main 这个函数,具体得看你 1.hs 里面是怎么写的
2019年09月19日 05点09分 2
代码放在楼下了,在windows里可以正常用呀
2019年09月19日 05点09分
level 1
程序是这样的
2019年09月19日 05点09分 3
level 6
入口函数 main 没有吧
2019年09月19日 10点09分 4
1