|
definition: |
compileImportedModule :: Int -> String -> IO ()
compileImportedModule verb modname = do
mapM (compileModuleTo verb modname) [ACY, UACY]
compileModule2Flat
where
compileModule2Flat
| curryCompiler == "kics2"
= compileModuleTo verb modname TFCY
| curryCompiler == "pakcs"
= compileModuleTo verb modname FCY
| otherwise
= error $ "compileSetFunctions: unknown Curry compiler '" ++
curryCompiler ++ "'!"
|
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
--------------------------------------------------------------------------- If a module is added as a new import to the transformed program, we have to compile it in order to avoid a compilation error of the front end, since the front end assumes, if the preprocessor is called, that all imported modules are already compiled. |
|
failfree: |
<FAILING> |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_) |-> _}
|
|
name: |
compileImportedModule |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
Prelude.Int -> String -> Prelude.IO () |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |