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

definition: Info
 
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: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
----------------------------------------------------------------------
Safely checks a property, i.e., catch all exceptions that might occur
and return appropriate error message in case of a failed test.
failfree: Info
 (_, _)
indeterministic: Info
 might be indeterministic
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> _}
name: Info
 checkPropWithMsg
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 String -> Prelude.IO Prelude.Bool -> Prelude.IO (Prelude.Maybe String)
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term