
Also, updates some of the mzlib files to point at `racket/*' libraries rather than to `scheme/*' ones.
14 lines
497 B
Racket
14 lines
497 B
Racket
#lang scribble/doc
|
|
@(require "common.rkt" (for-label syntax/flatten-begin))
|
|
|
|
@title[#:tag "flatten-begin"]{Flattening @racket[begin] Forms}
|
|
|
|
@defmodule[syntax/flatten-begin]
|
|
|
|
@defproc[(flatten-begin [stx syntax?]) (listof syntax?)]{
|
|
|
|
Extracts the sub-expressions from a @racket[begin]-like form,
|
|
reporting an error if @racket[stx] does not have the right shape
|
|
(i.e., a syntax list). The resulting syntax objects have annotations
|
|
transferred from @racket[stx] using @racket[syntax-track-origin].}
|