package qcheck-core
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=ac45753406af93cb77a3c173741e0fe8
sha512=3baa8c04a43db0497891394208c8a6184d603e4fe0ad9d15fddf666e7a628597210874ca85c96022b69c11a99fdd43bbbf0e6211e34ed7d1dea7b1c95bd54316
doc/qcheck-core/QCheck2/Print/index.html
Module QCheck2.PrintSource
Printing functions and helpers, used to print generated values on test failures.
Printer for values of type 'a.
result okp errp is a printer of ('a,'e) result, using okp for printing Ok _ and errp for printing Error _.
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.