commit 308c3590f9bd056cc85e430757f28b1e1e1071eb
parent e816782d46a8cad31230e24c1c8a34defe7dd1b1
Author: Jack Firth <jackhfirth@gmail.com>
Date: Mon, 13 Jul 2015 12:10:41 -0700
Update doc lens references
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/generic-syntax-expanders/scribblings/scoped-transformers.scrbl b/generic-syntax-expanders/scribblings/scoped-transformers.scrbl
@@ -3,13 +3,13 @@
@(require "example-evaluator.rkt"
package-scribblings-tools
(for-label racket/base
- lenses
+ lens
generic-syntax-expanders/define-expanders
generic-syntax-expanders/scoped-transformers))
@module-title[generic-syntax-expanders/scoped-transformers]{Lens Scoped Syntax Transformers}
-This module uses the @racket[lenses] package to create syntax transformers
+This module uses the @racket[lens] package to create syntax transformers
that affect only some small subpiece of a syntax object and compose them
with other transformers. This allows for the creation of a macro that cedes
control to other macros to pre-expand parts of its body before the macro
@@ -20,7 +20,7 @@ extensible macro.
@defproc[((with-scoped-pre-transformer
[transformer (-> syntax? syntax?)]
- [stx-lens (lens/c syntax? syntax?)]
+ [stx-lens lens?]
[pre-transformer (-> syntax? syntax?)])
[stx syntax?])
syntax?]{
@@ -32,7 +32,7 @@ extensible macro.
@defproc[((with-scoped-pre-transformers
[transformer (-> syntax? syntax?)]
[pre-transformer-lens-pairs
- (listof (list/c (lens/c syntax? syntax?)
+ (listof (list/c lens?
(-> syntax? syntax?)))])
[stx syntax?])
syntax?]{