|
definition: |
classify :: Bool -> String -> Prop -> Prop classify _ _ _ = propUndefinedError "classify" |
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
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: |
(_, _, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_,_) |-> _}
|
|
name: |
classify |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
Prelude.Bool -> String -> Test.Prop.Types.Prop -> Test.Prop.Types.Prop |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
yes |
|
totally-defined: |
reducible on all ground data terms |