definition: |
argsToOptions :: [String] -> [Option] argsToOptions args = case args of ["-h"] -> [] ["--help"] -> [] ["-?"] -> [] "-l" : opts -> LowCase : argsToOptions opts "-d" : f : opts -> OutDir f : argsToOptions opts [s] -> [FileName s] _ -> [] |
demand: |
argument 1 |
deterministic: |
deterministic operation |
failfree: |
_ |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{({:}) |-> {:,[]} || ({[]}) |-> {[]}} |
name: |
argsToOptions |
precedence: |
no precedence defined |
result-values: |
{:,[]} |
signature: |
[String] -> [Option] |
solution-complete: |
operation might suspend on free variables |
terminating: |
yes |
totally-defined: |
reducible on all ground data terms |