CurryInfo: icurry-3.2.0 / ICurry.Interpreter.askProceed

definition:
 
askProceed :: IOptions -> IO Bool
askProceed opts =
  if optInteractive (icOptions opts)
    then do putStr "Proceed (<RET>) or abort (a)? "
            ans <- getLine
            if null ans
              then return True
              else if ans `isPrefixOf` "abort"
                     then putStrLn "Execution aborted!" >> return False
                     else askProceed opts
    else return True
demand:
 argument 1
deterministic:
 deterministic operation
failfree:
 _
indeterministic:
 referentially transparent operation
infix:
 no fixity defined
iotype:
 {(_) |-> _}
name:
 askProceed
precedence:
 no precedence defined
result-values:
 _
signature:
 IOptions -> Prelude.IO Prelude.Bool
solution-complete:
 operation might suspend on free variables
terminating:
 possibly non-terminating
totally-defined:
 reducible on all ground data terms