definition:
|
readProgAndStoreIfNecessary :: IORef GuiState -> (String -> IO ()) ->
(String,InterfaceOrFlatProg) -> IO ()
readProgAndStoreIfNecessary _ _ (_,FP _) = return ()
readProgAndStoreIfNecessary gs prt (name,IF _) =
readProgAndStore gs prt name >> return ()
|
demand:
|
argument 3
|
deterministic:
|
deterministic operation
|
documentation:
|
-- read a FlatCurry program and store if not already done
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_,_,{(,)}) |-> _}
|
name:
|
readProgAndStoreIfNecessary
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
Data.IORef.IORef GuiState -> (String -> Prelude.IO ())
-> (String, Imports.InterfaceOrFlatProg) -> Prelude.IO ()
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|