|
definition: |
hasModInfoFor :: IORef ProgInfo -> String -> IO Bool hasModInfoFor piref mn = do pi <- readIORef piref return $ maybe False (const True) (lookup mn (progInfos pi)) |
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
Does the info for a module with a given name already exists? |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_) |-> _}
|
|
name: |
hasModInfoFor |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
Data.IORef.IORef ProgInfo -> String -> Prelude.IO Prelude.Bool |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |