|
definition: |
loadModulesForQNames :: Options -> IORef ProgInfo -> [QName] -> IO ()
loadModulesForQNames opts pistore qns = mapM_ loadMod (nub (map fst qns))
where
loadMod m = do
mloaded <- hasModInfoFor pistore m
unless mloaded $ do -- we must load a new module
printWhenStatus opts $ "Loading module '" ++ m ++ "'..."
addModInfoFor pistore m
|
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
Extract all user-defined FlatCurry functions that might be called by a given list of function names provided as the last argument. The second argument is an `IORef` to the currently loaded modules. Its contents will be extended when necessary. |
|
failfree: |
<FAILING> |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_,_) |-> _}
|
|
name: |
loadModulesForQNames |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
Verify.Options.Options -> Data.IORef.IORef Verify.ProgInfo.ProgInfo -> [(String, String)] -> Prelude.IO () |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |