CurryInfo: currypp-3.2.0 / CPP.ICode.TransICode.translateIntCode

definition: Info
 
translateIntCode :: Int -> String -> String -> String -> IO String
translateIntCode verb model fname s = do
  pinfo <- tryReadParserInfoFile verb model fname
  stw <- concatAllIOPM $ applyLangParsers pinfo
                       $ ciparser fname s
  putStr (formatWarnings (getWarningsPM stw))
  escapePR (discardWarningsPM stw) formatErrors
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Translates a string containing a Curry program with Integrated Code
into a string with pure Curry code.
The second argument is, if non-empty, the name of an info file containing
information about the data model in case of integrated SQL code.
@param verb  - verbosity level
@param model - name of file containing information about the datamodel
               in case of SQL,  an empty string otherwise
@param fname - The name of the original Curry file
@param s - The string that should be translated
@return The translated string
failfree: Info
 <FAILING>
indeterministic: Info
 might be indeterministic
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_,_) |-> _}
name: Info
 translateIntCode
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Prelude.Int -> String -> String -> String -> Prelude.IO String
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term