Skip to content

Commit 149f1f6

Browse files
Fix 1 occurrence of define-syntax-syntax-rules-to-define-syntax-rule
This `define-syntax` macro can be replaced with a simpler, equivalent `define-syntax-rule` macro.
1 parent 5a2e304 commit 149f1f6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

typed-racket-test/unit-tests/parse-type-tests.rkt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,9 @@
8585
(with-check-info (['expected expected] ['actual actual])
8686
(fail-check "Unequal types")))))]))
8787

88-
(define-syntax pt-tests
89-
(syntax-rules ()
90-
[(_ nm [elems ...] ...)
91-
(test-suite nm
92-
(pt-test elems ...) ...)]))
88+
(define-syntax-rule (pt-tests nm [elems ...] ...)
89+
(test-suite nm
90+
(pt-test elems ...) ...))
9391

9492
(define-for-syntax N -Number)
9593
(define-for-syntax B -Boolean)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy