Add Haddock markup to SystemInterface
This commit is contained in:
parent
bd3299edd3
commit
4e7e3f9456
|
@ -73,15 +73,15 @@ import qualified Data.Map as Map
|
||||||
|
|
||||||
|
|
||||||
data SystemInterface m = SystemInterface {
|
data SystemInterface m = SystemInterface {
|
||||||
-- Read a file by filename, or return an error
|
-- | Read a file by filename, or return an error
|
||||||
siReadFile :: String -> m (Either ErrorMessage String),
|
siReadFile :: String -> m (Either ErrorMessage String),
|
||||||
-- Given:
|
-- | Given:
|
||||||
-- the current script,
|
-- the current script,
|
||||||
-- a list of source-path annotations in effect,
|
-- a list of source-path annotations in effect,
|
||||||
-- and a sourced file,
|
-- and a sourced file,
|
||||||
-- find the sourced file
|
-- find the sourced file
|
||||||
siFindSource :: String -> [String] -> String -> m FilePath,
|
siFindSource :: String -> [String] -> String -> m FilePath,
|
||||||
-- Get the configuration file (name, contents) for a filename
|
-- | Get the configuration file (name, contents) for a filename
|
||||||
siGetConfig :: String -> m (Maybe (FilePath, String))
|
siGetConfig :: String -> m (Maybe (FilePath, String))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue