definition:
|
readVerbosity :: [String] -> Int -> Int
readVerbosity [] n = if ((n < 4) && ( n > -1)) then n else 1
readVerbosity (l:ls) n
| isPrefixOf "verbosity" l = readVerbosity ls (read $ last $ words l)
| otherwise = readVerbosity ls n
|
demand:
|
argument 1
|
deterministic:
|
deterministic operation
|
failfree:
|
<FAILING>
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{({[]},_) |-> _ || ({:},_) |-> _}
|
name:
|
readVerbosity
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
[String] -> Prelude.Int -> Prelude.Int
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|