Module QCheck2.Fn

module Fn: sig .. end

Utils on generated functions.


val print : 'f QCheck2.fun_ QCheck2.Print.t

print f prints the implementation of generated function f.

The implementation always contains a default case, represented as _.

Note that printing a function before it was called in the test may not print the full implementation.

val apply : 'f QCheck2.fun_ -> 'f

apply f returns the underlying function to be used in tests. This is an alias for deconstructing as documented in QCheck2.fun_.