CurryInfo: easycheck-3.2.0 / Test.EasyCheck.Exec.checkPropWithMsg

definition:
 
checkPropWithMsg :: String -> IO Bool -> IO (Maybe String)
checkPropWithMsg msg execprop = catchNDIO msg $ do
  b <- catch execprop
             (\e -> putStrLn (msg ++ ": EXECUTION FAILURE:\n" ++ show e)
                    >> return False)
  return (if b then Nothing else Just msg)
demand:
 no demanded arguments
deterministic:
 deterministic operation
documentation:
 
----------------------------------------------------------------------
Safely checks a property, i.e., catch all exceptions that might occur
and return appropriate error message in case of a failed test.
failfree:
 (_, _)
indeterministic:
 might be indeterministic
infix:
 no fixity defined
iotype:
 {(_,_) |-> _}
name:
 checkPropWithMsg
precedence:
 no precedence defined
result-values:
 _
signature:
 String -> Prelude.IO Prelude.Bool -> Prelude.IO (Prelude.Maybe String)
solution-complete:
 operation might suspend on free variables
terminating:
 possibly non-terminating
totally-defined:
 possibly non-reducible on same data term