Copyright | (c) Maciej Bendkowski 2017-2018 |
---|---|
License | BSD3 |
Maintainer | maciej.bendkowski@tcs.uj.edu.pl |
Stability | experimental |
Safe Haskell | Safe |
Language | Haskell2010 |
General utilities meant for handing system annotations guiding the tuning and compilation process.
Documentation
withDefault :: Read a => Map String String -> String -> a -> a Source #
Read a given key value of a map with a default fallback.
withString :: Map String String -> String -> String -> String Source #
Read a given key value of a map with a default string fallback.
withDouble :: Map String String -> String -> Double -> Double Source #
withDefault
specialised to doubles.