why “Hello Anna!” isn’t showed here even after saving the file
main is just a normal function. You still have to call it in your repl.
*Main> main Hello world! Hello Anna!
Alternately, you can compile it with
ghc and run the executable.
$ ghc Anna.hs $ ./Anna