你如何在记事本++上编译和运行 Haskell 我安装了插件 NppExec 然后按F6
我将 Haskell 文件保存到C:\Users\Sam\Desktop\haskell files\new 3.hs
因此,在按F6后的命令中,我尝试输入一些不同的内容:
C:\Users\Sam\Desktop\haskell files\new 3.hs`
ghc.exe new 3.hs
haskell new
但我得到了这些回应:
C:\Users\Sam\Desktop\haskell files\new 3.hs
CreateProcess() failed with error code 2:
The system cannot find the file specified.
ghc.exe new 3.hs
Process started >>>
target `new' is not a module name or a source file
<<< Process finished.
haskell new 3
CreateProcess() failed with error code 2:
The system cannot find the file specified.
================ READY ================
在记事本++上的haskell文件中编译和执行的正确方法是什么?