Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type InputFileBundle = Map TurtlePath [TurtlePath] Source #
versionInfo' :: Text Source #
showCmdArgs :: [Text] -> Text Source #
logTimedAction :: HasVerbosity o => o -> TChan LogMessage -> Text -> [Text] -> (TChan LogMessage -> Text -> IO ()) -> (TChan LogMessage -> Text -> IO ()) -> IO FullOutput -> IO FullTimedOutput Source #
timeAndExitOnErr :: (HasSequential o, HasVerbosity o) => o -> TChan LogMessage -> Text -> (TChan LogMessage -> Text -> IO ()) -> (TChan LogMessage -> Text -> IO ()) -> ProcFun -> ProcInput -> IO FullTimedOutput Source #
timeAndExitOnErr' :: (HasSequential o, HasVerbosity o) => o -> TChan LogMessage -> Text -> [Text] -> (TChan LogMessage -> Text -> IO ()) -> (TChan LogMessage -> Text -> IO ()) -> ProcFun -> ProcInput -> IO FullTimedOutput Source #
parAwareProc :: HasSequential o => o -> ProcFun Source #
parAwareActions :: HasSequential o => o -> [IO a] -> IO [a] Source #
verboseTestFile :: (HasVerbosity o, HasBaseDir o) => o -> TChan LogMessage -> TurtlePath -> IO Bool Source #
groupPairs' :: (Eq a, Ord a) => [(a, b)] -> [(a, [b])] Source #
allYearsPath :: TurtlePath -> TurtlePath Source #
allYearsPath' :: (TurtlePath -> TurtlePath) -> TurtlePath -> TurtlePath Source #
groupIncludeFiles :: [TurtlePath] -> (InputFileBundle, InputFileBundle) Source #
yearsIncludeMap :: [TurtlePath] -> InputFileBundle Source #
lsDirs :: TurtlePath -> Shell TurtlePath Source #
onlyDirs :: Shell TurtlePath -> Shell TurtlePath Source #
onlyFiles :: Shell TurtlePath -> Shell TurtlePath Source #
filterPathsByFileStatus :: (FileStatus -> Bool) -> Shell TurtlePath -> Shell TurtlePath Source #
filterPathsByFileStatus' :: (FileStatus -> Bool) -> [TurtlePath] -> [TurtlePath] -> Shell [TurtlePath] Source #
filterPaths :: (TurtlePath -> IO Bool) -> [TurtlePath] -> Shell [TurtlePath] Source #
filterPaths' :: [TurtlePath] -> (TurtlePath -> IO Bool) -> [TurtlePath] -> Shell [TurtlePath] Source #
firstExistingFile :: [TurtlePath] -> IO (Maybe TurtlePath) Source #
basenameLine :: TurtlePath -> Shell Line Source #
buildFilename :: [Line] -> Text -> TurtlePath Source #
shellToList :: Shell a -> Shell [a] Source #
toIncludeFiles :: (HasBaseDir o, HasVerbosity o) => o -> TChan LogMessage -> InputFileBundle -> IO (Map TurtlePath Text) Source #
extraIncludes :: (HasBaseDir o, HasVerbosity o) => o -> TChan LogMessage -> [TurtlePath] -> [Text] -> [TurtlePath] -> [TurtlePath] -> IO InputFileBundle Source #
extraIncludes' :: (HasBaseDir o, HasVerbosity o) => o -> TChan LogMessage -> InputFileBundle -> [TurtlePath] -> [Text] -> [TurtlePath] -> [TurtlePath] -> IO InputFileBundle Source #
extraIncludesForFile :: (HasVerbosity o, HasBaseDir o) => o -> TChan LogMessage -> TurtlePath -> [Text] -> [TurtlePath] -> [TurtlePath] -> IO InputFileBundle Source #
relativeFilesAsText :: HasBaseDir o => o -> [TurtlePath] -> [Text] Source #
toIncludeFiles' :: InputFileBundle -> InputFileBundle -> InputFileBundle -> Map TurtlePath Text Source #
addPreamble :: Map TurtlePath Text -> Map TurtlePath Text Source #
toIncludeLine :: TurtlePath -> TurtlePath -> Text Source #
generatedIncludeText :: InputFileBundle -> InputFileBundle -> TurtlePath -> [TurtlePath] -> Text Source #
groupAndWriteIncludeFiles :: (HasBaseDir o, HasVerbosity o) => o -> TChan LogMessage -> [TurtlePath] -> IO [TurtlePath] Source #
writeFiles :: IO (Map TurtlePath Text) -> IO [TurtlePath] Source #
writeFiles' :: Map TurtlePath Text -> IO [TurtlePath] Source #
writeTextMap :: Map TurtlePath Text -> IO () Source #
writeFileMap :: (HasBaseDir o, HasVerbosity o) => o -> TChan LogMessage -> (InputFileBundle, InputFileBundle) -> IO [TurtlePath] Source #
writeIncludesUpTo :: (HasBaseDir o, HasVerbosity o) => o -> TChan LogMessage -> TurtlePath -> [TurtlePath] -> IO [TurtlePath] Source #
writeToplevelAllYearsInclude :: (HasBaseDir o, HasVerbosity o) => o -> IO [TurtlePath] Source #
changeExtension :: Text -> TurtlePath -> TurtlePath Source #
changePathAndExtension :: TurtlePath -> Text -> TurtlePath -> TurtlePath Source #
changeOutputPath :: TurtlePath -> TurtlePath -> TurtlePath Source #
importDirBreakdown :: TurtlePath -> [TurtlePath] Source #
importDirBreakdown' :: [TurtlePath] -> TurtlePath -> [TurtlePath] Source #
listOwners :: HasBaseDir o => o -> Shell TurtlePath Source #
intPath :: Integer -> TurtlePath Source #
includeYears :: TChan LogMessage -> TurtlePath -> IO [Integer] Source #