CurryInfo: verify-non-fail-2.0.0 / Verify.ProgInfo.getModInfoFor

definition: Info
 
getModInfoFor :: IORef ProgInfo -> String -> IO ModInfo
getModInfoFor piref mname = do
  pi <- readIORef piref
  maybe (addModInfoFor piref mname >> getModInfoFor piref mname)
        return
        (lookup mname (progInfos pi))
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Gets the info for a module with a given name.
If it is not already stored, read the module and store it.
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> _}
name: Info
 getModInfoFor
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Data.IORef.IORef ProgInfo -> String -> Prelude.IO ModInfo
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term