So I'm trying to learn haskell.
I got this code:
main = putStrLn "Hello World!"
And I'm compiling it using the Script plugin for Atom (Whitch in turn uses Cabal).
And i get this error:
<interactive>:1:6: parse error on input ‘=’
Also there is nothing printed to the console.
What am I missing?
NOTE:
I'm trying to follow the Happy Learn Haskell Tutorial
let main = putStrLn "Hello World!".