docs for `ghcModExecutable`

This commit is contained in:
Daniel Gröber 2014-08-12 21:21:08 +02:00
parent 4def562179
commit 2a1fd28771
1 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,8 @@ lookupSym sym (SymbolDb db) = fromMaybe [] $ M.lookup sym db
loadSymbolDb :: IO SymbolDb
loadSymbolDb = SymbolDb <$> readSymbolDb
-- | Returns the path to the currently running ghc-mod executable. With ghc<7.6
-- this is a guess but >=7.6 uses 'getExecutablePath'.
ghcModExecutable :: IO FilePath
#ifndef SPEC
ghcModExecutable = do