Skip to content

Commit

Permalink
Rename ==> to ===>.
Browse files Browse the repository at this point in the history
This is part of the for-all syntax for property-based testing.

This change avoids a clash with an HtDP2e exercise.

(cherry picked from commit b80dc8d)
  • Loading branch information
mikesperber authored and jbclements committed Nov 1, 2024
1 parent 6570f27 commit 5ea00f5
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion htdp-lib/lang/htdp-advanced.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
Number Real Rational Integer Natural Boolean True False String Symbol Char Any
ConsOf ListOf EmptyList
Property
check-property for-all ==> expect expect-within expect-member-of expect-range)
check-property for-all ===> expect expect-within expect-member-of expect-range)

;; procedures:
(provide-and-scribble
Expand Down
2 changes: 1 addition & 1 deletion htdp-lib/lang/htdp-beginner-abbr.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
Number Real Rational Integer Natural Boolean True False String Symbol Char Any
ListOf EmptyList
Property
check-property for-all ==> expect expect-within expect-member-of expect-range)
check-property for-all ===> expect expect-within expect-member-of expect-range)

;; procedures:
(provide-and-scribble
Expand Down
2 changes: 1 addition & 1 deletion htdp-lib/lang/htdp-beginner.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
Number Real Rational Integer Natural Boolean True False String Symbol Char Any
ListOf EmptyList
Property
check-property for-all ==> expect expect-within expect-member-of expect-range)
check-property for-all ===> expect expect-within expect-member-of expect-range)

;; procedures:
(provide-and-scribble
Expand Down
2 changes: 1 addition & 1 deletion htdp-lib/lang/htdp-intermediate-lambda.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
Number Real Rational Integer Natural Boolean True False String Symbol Char Any
ConsOf ListOf EmptyList
Property
check-property for-all ==> expect expect-within expect-member-of expect-range)
check-property for-all ===> expect expect-within expect-member-of expect-range)

;; procedures:
(provide-and-scribble
Expand Down
2 changes: 1 addition & 1 deletion htdp-lib/lang/htdp-intermediate.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
Number Real Rational Integer Natural Boolean True False String Symbol Char Any
ConsOf ListOf EmptyList
Property
check-property for-all ==> expect expect-within expect-member-of expect-range)
check-property for-all ===> expect expect-within expect-member-of expect-range)


(provide-and-scribble
Expand Down
5 changes: 3 additions & 2 deletions htdp-lib/lang/private/teach.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -3255,10 +3255,11 @@

; QuickCheck

(provide for-all ==>
(provide for-all
check-property
expect expect-within expect-member-of expect-range
Property)
Property
(rename ==> ===>))

(define-syntax (for-all stx)
(syntax-case stx ()
Expand Down

0 comments on commit 5ea00f5

Please sign in to comment.