You can connect to the BufWritePost event. Globally (i.e. for each file):
:autocmd BufWritePost * GhcModCheck
To do this only for Haskell files, you can modify the file template:
:autocmd BufWritePost *.hs GhcModCheck
But it's better to use Vim's built-in file type definition and instead put it in ~/.vim/ftplugin/haskell_OnSave.vim :
:autocmd! BufWritePost <buffer> GhcModCheck
source share