Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- getTargetPlatform :: FilePath -> RawSettings -> Either String Platform
- type RawSettings = Map String String
- getSetting0 :: FilePath -> RawSettings -> String -> Either String String
- getFilePathSetting0 :: FilePath -> FilePath -> RawSettings -> String -> Either String String
- getBooleanSetting0 :: FilePath -> RawSettings -> String -> Either String Bool
- readSetting0 :: (Show a, Read a) => FilePath -> RawSettings -> String -> Either String a
- maybeRead :: Read a => String -> Maybe a
- maybeReadFuzzy :: Read a => String -> Maybe a
Documentation
getTargetPlatform :: FilePath -> RawSettings -> Either String Platform Source #
getSetting0 :: FilePath -> RawSettings -> String -> Either String String Source #
See Note [Settings file] for "0" suffix
getFilePathSetting0 :: FilePath -> FilePath -> RawSettings -> String -> Either String String Source #
See Note [Settings file] for "0" suffix
getBooleanSetting0 :: FilePath -> RawSettings -> String -> Either String Bool Source #
See Note [Settings file] for "0" suffix
readSetting0 :: (Show a, Read a) => FilePath -> RawSettings -> String -> Either String a Source #
See Note [Settings file] for "0" suffix