dyre-0.8.11: Dynamic reconfiguration in Haskell

Safe HaskellNone



Compiling the custom executable. The majority of the code actually deals with error handling, and not the compilation itself per se.



customCompile :: Params cfgType -> IO ()Source

Attempts to compile the configuration file. Will return a string containing any compiler output.

getErrorPath :: Params cfgType -> IO FilePathSource

Return the path to the error file.

getErrorString :: Params cfgType -> IO (Maybe String)Source

If the error file exists and actually has some contents, return Just the error string. Otherwise return Nothing.