docs for ghcModExecutable
This commit is contained in:
parent
4def562179
commit
2a1fd28771
@ -94,6 +94,8 @@ lookupSym sym (SymbolDb db) = fromMaybe [] $ M.lookup sym db
|
|||||||
loadSymbolDb :: IO SymbolDb
|
loadSymbolDb :: IO SymbolDb
|
||||||
loadSymbolDb = SymbolDb <$> readSymbolDb
|
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
|
ghcModExecutable :: IO FilePath
|
||||||
#ifndef SPEC
|
#ifndef SPEC
|
||||||
ghcModExecutable = do
|
ghcModExecutable = do
|
||||||
|
Loading…
Reference in New Issue
Block a user