Next: , Previous: , Up: Top   [Index]


10 Module templates

To enable auto-insertion of module templates, enable:

(add-hook 'haskell-mode-hook 'haskell-auto-insert-module-template)

When you open a file called Foo.hs, it will auto-insert

-- |

module Foo where

And put your cursor in the comment section.