|
definition: |
main :: IO ()
main = do
args <- getArgs
case args of
[prog] -> runModuleAction showAllImportedCalls prog
_ -> putStrLn $ "ERROR: Illegal arguments: " ++ unwords args ++ "\n" ++
"Usage: curry-usedimports <module_name>"
|
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
Check arguments and call main function: |
|
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 |