CurryInfo: currypp-3.2.0 / CPP.CompileWithFrontend.compileImportedModule

definition: Info
 
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: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
---------------------------------------------------------------------------
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: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> _}
name: Info
 compileImportedModule
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Prelude.Int -> String -> Prelude.IO ()
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term