C-c C-l (for a simple "Hello, world!" script) in
interactive-haskell-mode gives me the error message
Format specifier doesn't match argument type
whereas I would have expected the file being executed in a new buffer (resulting in the output `Hello, world!").
The script consists fo the single line
main = putStrLn "Hello, world!"
I cannot make much sense of the error message. Does anyone has an idea which additional diagnostics I could run in order to pin down the problem?
There is a loosely related (open) issue on GitHub https://github.com/haskell/haskell-mode/issues/1429 resulting in the same error message for Haskell snippets in
I'm using Emacs 25.2.2 from the official package on 64-bit Ubuntu 18.0.4 and also the
haskell-mode package from the official repositories.