Ensure haskell-mode is installed.
Only bind [f6] to runhaskell in haskell-mode.