HSHHelpers-0.19: Convenience functions that use HSH, instances for HSH.Source codeContentsIndex
HSH.Helpers.Utils
Synopsis
inPath :: FilePath -> ErrorT String IO ()
tryS :: IO a -> IO (Either String a)
runS :: String -> IO String
runStrings :: String -> IO [String]
Documentation
inPath :: FilePath -> ErrorT String IO ()Source
tryS :: IO a -> IO (Either String a)Source
runS :: String -> IO StringSource

Like tryEC in HSH, but doesn't attempt to parse error message, so all errors result in Left result type and nothing gets re-raised via ioError

like HSH.runSL, but returns all output, not just the first line.

runStrings :: String -> IO [String]Source
like runS, but returns as list of lines
Produced by Haddock version 2.4.2