racket/pkgs/racket-doc/syntax/scribblings/context.scrbl
Matthew Flatt 2d4f3e2ac9 remove the "racket-pkgs" directory layer
The layer is now redundant, since everything left in "pkgs" is in the
"racket-pkgs" category.
2014-12-08 05:22:59 -07: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.}