hsdev-0.1.5.2: Haskell development library and tool with support of autocompletion, symbol info, go to declaration, find references etc.

Safe HaskellNone
LanguageHaskell98

HsDev.Server.Base

Synopsis

Documentation

initLog :: ServerOpts -> IO (Log, Level -> String -> IO (), ([String] -> IO ()) -> IO (), IO ()) Source

Inits log chan and returns functions (print message, wait channel)

runServer :: ServerOpts -> (CommandOptions -> IO ()) -> IO () Source

Run server

withCache :: ServerOpts -> a -> (FilePath -> IO a) -> IO a Source

Perform action on cache

writeCache :: ServerOpts -> (Level -> String -> IO ()) -> Database -> IO () Source