CurryInfo: curry-repl-1.2.0 / REPL.Main.loadCurryProgram

definition: Info
 
loadCurryProgram :: ReplState -> String -> IO (Maybe ReplState)
loadCurryProgram rst0 curryprog = do
  let rst = rst0 { letBinds = [] }
  maybe (compileCurryProgram rst curryprog)
        (parseCurryProgram rst curryprog)
        (ccTypedFC (compiler rst))
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
Load a Curry program (parse only or compile it):
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> _}
name: Info
 loadCurryProgram
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 REPL.State.ReplState -> String
-> Prelude.IO (Prelude.Maybe REPL.State.ReplState)
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term