01 02 03 04 05 06 01 02 03 04 05 06 07 08 09 10 11 12 13 14 ← →
module Main where
Here, we instead define our message as a separate variable.
hello ∷ String hello = "hello"
We want to output the contents of this string, without the quotes, so we
instead call the function putStrLn
.
main ∷ IO () main = putStrLn hello
hello