definition: |
readLogLevel :: String -> Either String LogLevel readLogLevel s = case map toLower s of "debug" -> Right Debug "info" -> Right Info "quiet" -> Right Quiet _ -> Left $ "Illegal verbosity value: " ++ s |
demand: |
argument 1 |
deterministic: |
deterministic operation |
failfree: |
_ |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_) |-> _} |
name: |
readLogLevel |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
String -> Prelude.Either String CPM.ErrorLogger.LogLevel |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
possibly non-reducible on same data term |