Skip to content

Commit e5676a1

Browse files
committed
quash tail-imports/tail-exports
(and fix a typo) related to racket#101
1 parent 69bff2a commit e5676a1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

redex-doc/redex/scribblings/ref/languages.scrbl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#,pattern
3131
(code:line binding-pattern #:exports beta)
3232
(code:line binding-pattern #:refers-to beta)
33-
(code:line binding-pattern #:...bind (id tail-imports-beta tail-exports-beta))]
33+
(code:line binding-pattern #:...bind (id beta beta))]
3434
[beta nothing
3535
symbol
3636
(shadow beta-seqence ...)]
@@ -81,7 +81,7 @@ need to write operations that (explicitly) respect the binding structure of the
8181
When @racket[maybe-binding-spec] is provided, it declares binding specifications
8282
for certain forms in the language. The @racket[binding-pattern] specification is an
8383
extension of Redex's @|pattern| language, allowing the keywords @racket[#:refers-to],
84-
@racket[#:exports], and @racket[#:...binds] to appear nested inside a binding pattern.
84+
@racket[#:exports], and @racket[#:...bind]s to appear nested inside a binding pattern.
8585

8686
The language, @racket[_lc-lang], above does not
8787
declare any binding specifications, despite the clear intention of @racket[λ] as

redex-lib/redex/private/binding-forms-compiler.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@
241241
#`(#,@pat #,pat-sub #,@(if dotdotdoting #`((... ...)) #`())))))
242242

243243
(define (bind-must-be-followed-by)
244-
(rse "#...bind must be followed by `(id tail-imports-beta tail-exports-beta)`"))
244+
(rse "#...bind must be followed by `(id beta beta)`"))
245245

246246
(syntax-case #'rest (...) ;; is it followed by a postfix/infix operator?
247247
[(#:refers-to imports-beta (... ...) . rest-of-body)

0 commit comments

Comments
 (0)