sudo apt-get install haskell-platform
ghci
Prelude> 1+1
2
新建文件 hello.hs
main = putStrLn "Hello, world!"
ghci hello.hs
*Main> main
Hello, world!
haskell 安装与使用
阅读 161
2023-01-16
sudo apt-get install haskell-platform
ghci
Prelude> 1+1
2
新建文件 hello.hs
main = putStrLn "Hello, world!"
ghci hello.hs
*Main> main
Hello, world!
相关推荐
精彩评论(0)