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

Safe HaskellNone
LanguageHaskell98

HsDev.Tools.Base

Contents

Synopsis

Documentation

runWait :: FilePath -> [String] -> String -> IO Result Source

Run command and wait for result

runWait_ :: FilePath -> [String] -> IO Result Source

Run command with no input

tool_ :: FilePath -> [String] -> ToolM String Source

Tool with no input

Read parse utils

type ReadM a = StateT String [] a Source

readParse :: Read a => ReadM a Source

Parse readable value

parseReads :: String -> ReadM a -> [a] Source

Run parser

parseRead :: String -> ReadM a -> Maybe a Source

Run parser and select first result