mat*_*guy 0 haskell cabal haskell-platform cabal-new
试图用Haskell构建一个简单的库。它工作了一次,然后停止了工作(很奇怪)
仅运行了几个命令,只有库的简单cabal init
然后添加了以下库
问候
module Greet where
greeet s = "Hey, " ++ s
Run Code Online (Sandbox Code Playgroud)
然后运行cabal new-build,然后运行cabal new-repl
错误如下
Build profile: -w ghc-8.6.3 -O1
In order, the following will be built (use -v for more details):
- HaskellTry-0.1.0.0 (lib) (ephemeral targets)
Preprocessing library for HaskellTry-0.1.0.0..
GHCi, version 8.6.3: http://www.haskell.org/ghc/ :? for help
Ok, one module loaded.
Prelude Greet> greeet "h"
"
Run Code Online (Sandbox Code Playgroud)
在那之后一切都停滞了。