[Haskell-cafe] Emacs: Haskell snippets for YASnippet

Daniel Schüssler anotheraddress at gmx.de
Wed Nov 4 10:49:28 EST 2009

Hi List,

this is rather trivial, but maybe someone else finds these useful:

darcs get http://code.haskell.org/~daniels/haskell-snippets/

Especially the LANGUAGE ones have saved me quite some typing :) Additions 

Usage: If not already installed, get YASnippet: 

and put this into your .emacs:

(load-file "some-path/haskell-snippets.el")

to expand a snippet, just enter the macro string (these are listed in the 
haskell-snippets.el file) and press <tab>. If the snippet has holes, press 
<tab> again to jump to the next hole.


More information about the Haskell-Cafe mailing list