Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (22 sloc) 740 Bytes

Starter Kit Haskell

This is part of the Emacs Starter Kit.

Starter Kit Haskell

Support for editing Haskell

pretty lambdas in Haskell code

(defun pretty-lambdas-haskell ()
   nil `((,(concat "(?\\(" (regexp-quote "\\") "\\)")
          (0 (progn (compose-region (match-beginning 1) (match-end 1)
                                    ,(make-char 'greek-iso8859-7 107))

Haskell mode hook

(add-hook 'haskell-mode-hook 'run-coding-hook)
(add-hook 'haskell-mode-hook 'pretty-lambdas-haskell)