definition: |
main :: IO () main = do args <- getArgs processArgs defaultTParam args where processArgs tparam args = case args of ["-h"] -> putStrLn $ banner ++ usageInfo ("-q":moreargs) -> processArgs (setRunQuiet tparam) moreargs ("-c":moreargs) -> processArgs (setCompile tparam) moreargs ("-r":moreargs) -> processArgs (setExec tparam) moreargs [mname] -> transformPlural tparam (stripCurrySuffix mname) _ -> putStrLn $ banner ++ "\nERROR: Illegal arguments for transformation: " ++ unwords args ++ "\n" ++ usageInfo |
demand: |
no demanded arguments |
deterministic: |
deterministic operation |
failfree: |
<FAILING> |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{() |-> _} |
name: |
main |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
Prelude.IO () |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
possibly non-reducible on same data term |