seeking lore of the QuickCheck masters

Norman Ramsey nr@eecs.harvard.edu
Fri, 11 Apr 2003 10:34:52 -0400 (EDT)


I am playing around with an implementation of a little language,
and I would like to use QuickCheck to test my code.  My problem is
that I want to test only well-typed terms.  I don't know how to craft
my `arbitrary' functions so that the probability of generating a well-typed
term is more than vanishingly small.  Can anybody pass on interesting
tips and tricks that might help?


Norman