definition: |
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: |
argument 1 |
deterministic: |
deterministic operation |
documentation: |
Load a Curry program (parse only or compile it): |
failfree: |
<FAILING> |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_,_) |-> _} |
name: |
loadCurryProgram |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
REPL.State.ReplState -> String -> Prelude.IO (Prelude.Maybe REPL.State.ReplState) |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
possibly non-reducible on same data term |