Safe Haskell | None |
---|---|
Language | Haskell98 |
- type Result = Either String String
- type ToolM a = ErrorT String IO a
- runWait :: FilePath -> [String] -> String -> IO Result
- runWait_ :: FilePath -> [String] -> IO Result
- tool :: FilePath -> [String] -> String -> ToolM String
- tool_ :: FilePath -> [String] -> ToolM String
- matchRx :: String -> String -> Maybe (Int -> Maybe String)
- splitRx :: String -> String -> [String]
- replaceRx :: String -> String -> String -> String
- at :: (Int -> Maybe String) -> Int -> String
- inspect :: Monad m => ModuleLocation -> ErrorT String m Inspection -> ErrorT String m Module -> ErrorT String m InspectedModule
- type ReadM a = StateT String [] a
- readParse :: Read a => ReadM a
- parseReads :: String -> ReadM a -> [a]
- parseRead :: String -> ReadM a -> Maybe a
Documentation
inspect :: Monad m => ModuleLocation -> ErrorT String m Inspection -> ErrorT String m Module -> ErrorT String m InspectedModule Source
Read parse utils
parseReads :: String -> ReadM a -> [a] Source
Run parser