CurryInfo: cass-analysis-4.0.0 / Analysis.ProgInfo.readAnalysisFile

definition:
readAnalysisFile :: (Read a, ReadWrite a) => DLevel -> String
                 -> IO (Map QName a)
readAnalysisFile dl fname = do
  infomap <- readTermFile (fromEnum dl > 2) fname
  catch (return $!! infomap)
        (\err -> do
           putStrLn $ "Buggy analysis files detected and removed:\n" ++ fname
           removeFile fname
           putStrLn "Please try to re-run the analysis!"
           ioError err)
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Reads an existing file with (public or private) analysis information.
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_,_,_) |-> _}
name:
readAnalysisFile
precedence:
no precedence defined
result-values:
_
signature:
(Prelude.Read a, RW.Base.ReadWrite a) => Analysis.Logging.DLevel -> String
-> Prelude.IO (Data.Map.Map (String, String) a)
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term