Haskell : First project - Hello World
1. in the ghci , you can use GHC complier
ghci> putStrLn "Hello World!"
Hello, World!
ghci>
2. Use IDE, save a file named helloworld.js
main :: IO ()
main = putStrLn "Hello, World!"
The first line is an optional type annotation, indicating that main ...
liyuan.hashnode.dev1 min read