Skip to content

Commit

Permalink
Fix up name for random expr generator.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvanhorn committed Dec 2, 2024
1 parent a191f38 commit 9e2d321
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/notes/evildoer.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -736,15 +736,15 @@ stream:
(check-compiler (parse '(write-byte 97)) "")]

The @racket[random-expr] function generates random expressions and
@racket[random-good-expr] generates random expressions that are
@racket[random-well-defined-expr] generates random expressions that are
guaranteed to be well-defined, as usual. Additionally, the
@racket[random-input] function produces a random string that can be
used as the input.

@ex[
(require "random.rkt")
(random-expr)
(random-good-expr)
(random-well-defined-expr)
(random-input)]

Together, these can be used to randomly test the correctness of the
Expand All @@ -754,5 +754,5 @@ compiler:
(for ((i 100))
(check-compiler (random-expr) (random-input)))
(for ((i 100))
(check-compiler (random-good-expr) (random-input)))]
(check-compiler (random-well-defined-expr) (random-input)))]

0 comments on commit 9e2d321

Please sign in to comment.