This function is used in `flycheck-haskell-get-config-value`, it no longer exists in the latest release of haskell-mode.