Closed rudolfochrist closed 9 years ago
Oh,
after some macroexpansions and re-reading the manual I found my mistake. It has to be
(defgenerator numbers ()
`(generator (or (integer 0 10)
(integer 20 30))))
I'm going to close this. Thank you anyway.
Hi,
I was playing around and tried to define my custom generators. I came up with
to generate integers between [0, 10) and [20, 30). Which worked.
Then, I tried to generate a list of
numbers
like soThis didn't met my assumption. What do I need to do to generate a list of random numbers (laying in one of the two intervals above).
Thanks. Sebastian