CurryInfo: sourceproggui-3.0.0 / SourceProgGUI.startGUI

definition:
startGUI :: String -> IO ()
startGUI prog = do
  mbsrc <- lookupModuleSourceInLoadPath prog
  case mbsrc of
    Nothing -> error $ "Curry file for module '" ++ prog ++ "' not found!"
    Just (_,filename) -> do
      contents <- readFile filename
      runHandlesControlledGUI ("Module: " ++ filename)
                              (sourceProgGUI contents (splitProgDefs contents))
                              [stdin]
demand:
no demanded arguments
deterministic:
possibly non-deterministic operation
documentation:
-- start the counter GUI:
failfree:
<FAILING>
indeterministic:
might be indeterministic
infix:
no fixity defined
iotype:
{(_) |-> _}
name:
startGUI
precedence:
no precedence defined
result-values:
_
signature:
String -> Prelude.IO ()
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term