CurryInfo: base-3.4.0 / Test.Prop.classify

definition: Info
 
classify :: Bool -> String -> Prop -> Prop
classify _ _ _ = propUndefinedError "classify"
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Assign a label to a property if the first argument is `True`.
All labeled tests are counted and shown at the end.
Hence, this combinator can be used to classify tests:

    multIsComm x y = classify (x<0 || y<0) "Negative" $ x*y -=- y*x
failfree: Info
 (_, _, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_) |-> _}
name: Info
 classify
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Prelude.Bool -> String -> Test.Prop.Types.Prop -> Test.Prop.Types.Prop
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms