CurryInfo: currybrowse-3.0.0 / BrowserGUI.startBrowser

definition: Info
 
startBrowser :: String -> IO ()
startBrowser modname = do
  initializeAnalysisSystem
  putStr "Please be patient, reading all interfaces..."
  helptxt <- readFileInBrowserDir readmeFile
  mods <- getImportedInterfaces modname
  putStrLn "done"
  let mainmod = progName (progOfIFFP (snd (head mods)))
      trees = [Leaf mainmod
                    (mainmod,map (moduleImports . progOfIFFP . snd) mods)]
  stateref <- newIORef (GS trees modname mods
                           [] ("",OtherText,"") False Nothing)
  runInitGUI title
             (browserGUI stateref rmod rtxt (trees2strings trees))
             (\gp -> setValue rtxt helptxt gp >> setValue rmod "0" gp >>
                     return [])
 where rmod,rtxt free
demand: Info
 no demanded arguments
deterministic: Info
 possibly non-deterministic operation
indeterministic: Info
 might be indeterministic
infix: Info
 no fixity defined
iotype: Info
 {(_) |-> _}
name: Info
 startBrowser
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 String -> Prelude.IO ()
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term