definition: |
updatePropertyFile :: String -> String -> String -> IO () updatePropertyFile file pname pval = do props <- readPropertyFile file if lookup pname props == Nothing then appendFile file (pname++"="++pval++"\n") else changePropertyInFile file pname pval |
demand: |
no demanded arguments |
deterministic: |
deterministic operation |
documentation: |
Update a property in a property file or add it, if it is not already there. @param file - the name of the property file @param pname - the name of the property @param pvalue - the new value of the property |
failfree: |
<FAILING> |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_,_,_) |-> _} |
name: |
updatePropertyFile |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
String -> String -> String -> Prelude.IO () |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
possibly non-reducible on same data term |