haskell-language-server-1.5.1.0: LSP server for GHC
Safe HaskellNone
LanguageHaskell2010

Ide.Version

Description

Information and display strings for HIE's version and the current project's version

Synopsis

Documentation

findVersionOf :: FilePath -> IO (Maybe Version) Source #

Find the version of the given program. Assumes the program accepts the cli argument "--numeric-version". If the invocation has a non-zero exit-code, we return Nothing