definition: |
getPropertiesFromFile :: String -> [String] -> IO [Maybe String] getPropertiesFromFile propfile propnames = do props <- readPropertyFile propfile return (map (flip lookup (map (\ (a, b) -> (map toLower a, b)) props)) (map (map toLower) propnames)) |
demand: |
no demanded arguments |
deterministic: |
deterministic operation |
documentation: |
--- Looks up the values of properties stored in a property file. --- Uppercase/lowercase is ignored for the variable names. |
failfree: |
<FAILING> |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_,_) |-> _} |
name: |
getPropertiesFromFile |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
String -> [String] -> Prelude.IO [Prelude.Maybe String] |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
possibly non-reducible on same data term |