Here-docs in Haskell source

Ian Zimmerman itz at madbat.mine.nu
Fri Sep 22 23:54:42 EDT 2006


John> python-mode actually handles Python syntax a lot better than
John> haskell-mode handles Haskell syntax, particularly regarding
John> indentation.

Automatic indentation is only one aspect of Emacs modes, and as far as I
am concerned not nearly the most important one.

Here's a quick test: put the cursor in front of a triple-quoted string,
then hit Control-Alt-F (forward-sexp).  It should move just after the
whole string.  Does it?

Any tool which assumes strings are delimited by a single front delimiter
and a single end delimiter, which they are in most reasonable languages,
will have trouble.

-- 
She had a passion for anyone who could do anything really well.
...                "Not for an engineer, not for a technician!"
                    Mikhail Bulgakov, The Master & Margarita


More information about the Haskell-prime mailing list