[Haskell] Literate Haskell editing with Emacs and MMM: the $ operator

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Tue Jan 25 21:27:31 CET 2011

On 26 January 2011 06:07, Julian Gilbey <julian at d-and-j.net> wrote:
> I've been editing literate (LaTeX-based) Haskell code using Emacs and
> MMM-mode, using the instructions posted in
> http://www.haskell.org/pipermail/haskell/2006-April/017855.html
> There's one annoyance, however: the $ operator in Haskell code ends up
> being interpreted as the beginning of math mode, completely messing up
> any font-lock colo(u)ring.
> Has anyone else found this, and has anyone come up with a good
> solution?

Last time I tried this, I ended up inserting extra $ just to fix up
the syntax highlighting :s

Maybe try something like
http://www.loveshack.ukfsn.org/emacs/haskell-latex.el instead?

Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell mailing list