|
definition: |
addModInfoFor :: IORef ProgInfo -> String -> IO ()
addModInfoFor piref mname = do
prog <- readTransFlatCurry mname
pis <- readIORef piref
writeIORef piref
(pis { progInfos = (progName prog, prog2ModInfo prog) : progInfos pis})
|
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
Read a module and adds the info for it. |
|
failfree: |
<FAILING> |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_) |-> _}
|
|
name: |
addModInfoFor |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
Data.IORef.IORef ProgInfo -> String -> Prelude.IO () |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |