racket/pkgs/racket-doc/syntax/scribblings/to-string.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

15 lines
439 B
Racket

#lang scribble/doc
@(require "common.rkt"
(for-label syntax/stx
syntax/to-string))
@title[#:tag "to-string"]{Rendering Syntax Objects with Formatting}
@defmodule[syntax/to-string]
@defproc[(syntax->string [stx-list stx-list?]) string?]{
Builds a string with newlines and indenting according to the source
locations in @racket[stx-list]; the outer pair of parens are not
rendered from @racket[stx-list].}