hsdev-0.1.7.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 (), IO [String], IO ()) Source

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

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

Run server

withCache :: Monad m => ServerOpts -> a -> (FilePath -> m a) -> m a Source

Perform action on cache