Following the instructions in this post: haskell repl in emacs, I could run haskell and ghc mode in emacs.
The issue is that I have ? marks, and I know it says something is wrong, but I don't know how to check why I get the marks (and how to improve my code from the hints). How to get the information what is the problem with my code?