
Also, updates some of the mzlib files to point at `racket/*' libraries rather than to `scheme/*' ones.
19 lines
596 B
Racket
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.}
|