|
definition: |
main :: IO ()
main = do
argv <- getArgs
let (funopts, args, opterrors) = getOpt Permute options argv
opts = foldl (flip id) defaultOptions funopts
unless (null opterrors)
(putStr (unlines opterrors) >> putStrLn usageText >> exitWith 1)
when (optVerb opts > 0) $ putStr cvBanner
when (null args || optHelp opts) (putStrLn usageText >> exitWith 1)
mapM_ (generateTheoremsForModule opts) (map stripCurrySuffix args)
|
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
indeterministic: |
might be indeterministic |
|
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 |