QCheck.Print
The Print
module offers combinators for printing generated values.
val unit : unit t
val int : int t
Integer printer.
val bool : bool t
Boolean printer.
val float : float t
Floating point number printer.
val char : char t
Character printer.
val bytes : bytes t
Bytes printer.
val string : string t
String printer.
Triple (3-tuple) printer. Expects printers for each component.
Quadruple (4-tuple) printer. Expects printers for each component.
comap f p
maps p
, a printer of type 'b
, to a printer of type 'a
by first converting a printed value using f : 'a -> 'b
.
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) t
7-tuple printer. Expects printers for each component.