haskell/haskell-mode — pull request #91 by alexott (2012-11-07 11:53:49+00:00)
Title: use {before/after}-save-hook instead of separate functions

I looked to code, and found that it could be simplified - instead of using special function to save haskell code, we can use standard hooks:

* before-save-hook will call stylish before save
* after-save-hook will call hasktags after file was saved

both hooks are made buffer-local, to be called only in the haskell-mode