ifigueroap / racket-quickcheck

Quickcheck Clone implemented in Racket
Other
32 stars 16 forks source link

generator-unit is not defined error #49

Closed maueroats closed 1 month ago

maueroats commented 1 month ago

The following program does not successfully compile when loaded as a single document in Racket. When typed in two lines at the command line it does work. Addressed in PR #48.

#lang racket
(require quickcheck)
(define (choose-n)
  (bind-generators
   ([n (choose-integer -10 10)])
   n))
ifigueroap commented 1 month ago

I'm sorry, it's been a while since I'm not actively maintaining this repository. I understand the PR and will merge it, though. Thanks for the contribution.

PR merged.