syntax/for-transform -> syntax/unsafe/for-transform

This commit is contained in:
Stephen Chang 2013-09-06 19:00:55 -04:00
parent 56b372ca4d
commit 6ba7834169
3 changed files with 14 additions and 8 deletions

View File

@ -1,15 +1,19 @@
#lang scribble/manual #lang scribble/manual
@(require (for-label racket/base @(require (for-label racket/base
racket/sequence)) racket/sequence
syntax/unsafe/for-transform))
@title{@racket[for] Clause Transforms} @title{Unsafe @racket[for] Clause Transforms}
@defmodule[syntax/for-transform]{The @racketmodname[syntax/for-transform] module @defmodule[syntax/unsafe/for-transform]{
provides a helper function that gives access to the sequence transformers The @racketmodname[syntax/unsafe/for-transform] module provides a helper
defined by @racket[define-sequence-syntax]. This is what the @racket[for] forms function that gives access to the sequence transformers defined by
use and enables faster @racket[define-sequence-syntax]. This is what the @racket[for] forms use and
enables faster
@tech[#:doc '(lib "scribblings/reference/reference.scrbl")]{sequence} traversal @tech[#:doc '(lib "scribblings/reference/reference.scrbl")]{sequence} traversal
than what the sequence interface provides.} than what the sequence interface provides.
The output may use unsafe operations.}
@defproc[(expand-for-clause [orig-stx syntax?] [clause syntax?]) syntax?]{ @defproc[(expand-for-clause [orig-stx syntax?] [clause syntax?]) syntax?]{
@ -29,5 +33,7 @@ Expands a @racket[for] clause of the form @racket[[(x ...) seq-expr]], where
which can then be spliced into the appropriate iterations. See @racket[:do-in] which can then be spliced into the appropriate iterations. See @racket[:do-in]
for more information. for more information.
The result may use unsafe operations.
The first argument @racket[orig-stx] is used only for reporting syntax errors. The first argument @racket[orig-stx] is used only for reporting syntax errors.
} }

View File

@ -2,7 +2,7 @@ Version 5.90.0.9
Allow hash table chaperones and impersonators to Support efficient Allow hash table chaperones and impersonators to Support efficient
hash-clear and hash-clear! hash-clear and hash-clear!
setup/collection-name: added setup/collection-name: added
syntax/for-transform: added syntax/unsafe/for-transform: added
Version 5.90.0.6 Version 5.90.0.6
Added path<?, symbol<? Added path<?, symbol<?