Skip to content

Commit 9e2d321

Browse files
committed
Fix up name for random expr generator.
1 parent a191f38 commit 9e2d321

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

www/notes/evildoer.scrbl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -736,15 +736,15 @@ stream:
736736
(check-compiler (parse '(write-byte 97)) "")]
737737

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

744744
@ex[
745745
(require "random.rkt")
746746
(random-expr)
747-
(random-good-expr)
747+
(random-well-defined-expr)
748748
(random-input)]
749749

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

0 commit comments

Comments
 (0)