racket-quickcheck icon indicating copy to clipboard operation
racket-quickcheck copied to clipboard

`choose-arbitrary`

Open jackfirth opened this issue 10 years ago • 0 comments

I wanted a simple arbitrary-datum, which would be an arbitrary atomic Racket datum, such as:

  • A number
  • A character
  • A symbol
  • A boolean

It would be nice if there was a choose-arbitrary function that accepted a variable number of arbitrary? instances and returned an arbitrary? that produced values from one of them. I don't know how that interacts with the trans narrowing filter functions though.

jackfirth avatar Oct 14 '15 08:10 jackfirth