racket/collects/syntax/scribblings/context.scrbl
Eli Barzilay ac26fe7554 A ton of @scheme*' -> @racket*' and related updates.
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00

19 lines
596 B
Racket

#lang scribble/doc
@(require "common.rkt" (for-label syntax/context))
@title[#:tag "context"]{Support for @racket[local-expand]}
@defmodule[syntax/context]
@defproc[(build-expand-context [v (or/c symbol? list?)]) list?]{
Returns a list suitable for use as a context argument to
@racket[local-expand] for an internal-definition context. The
@racket[v] argument represents the immediate context for
expansion. The context list builds on @racket[(syntax-local-context)]
if it is a list.}
@defproc[(generate-expand-context) list?]{
Calls @racket[build-expand-context] with a generated symbol.}