QCheck2.PrintPrinting functions and helpers, used to print generated values on test failures.
val unit : unit tunit is a printer of unit.
val int : int tint is a printer of integer.
val bool : bool tbool is a printer of boolean.
val float : float tfloat is a printer of float.
val char : char tchar is a printer of character.
val bytes : bytes tbytes is a printer of bytes.
val string : string tstring is a printer of string.
quad p1 p2 p3 p4 is a printer of quadruple.
contramap f p transforms printer p into another using f.
Note the reverse order of types in f which may be conter-intuitive: indeed a function that prints values of type 'b can be obtained by transforming a value of type 'b to 'a using f, and then by printing this value of type 'a using p.
3-tuple printer. Expects printers for each component.
4-tuple printer. Expects printers for each component.
5-tuple printer. Expects printers for each component.
6-tuple printer. Expects printers for each component.
val tup7 :
'a t ->
'b t ->
'c t ->
'd t ->
'e t ->
'f t ->
'g t ->
('a * 'b * 'c * 'd * 'e * 'f * 'g) t7-tuple printer. Expects printers for each component.