From 1d1f4dfc3c4911afdf7ff33f42161dade1278108 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sat, 12 May 2012 06:48:31 -0600 Subject: [PATCH] fix docs on `prop:{require,provide,provide-pre}-transformer' --- collects/scribblings/reference/stx-trans.scrbl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/collects/scribblings/reference/stx-trans.scrbl b/collects/scribblings/reference/stx-trans.scrbl index ba1caee3f2..ad7b3f99ee 100644 --- a/collects/scribblings/reference/stx-trans.scrbl +++ b/collects/scribblings/reference/stx-trans.scrbl @@ -856,7 +856,8 @@ transformer.} @defthing[prop:require-transformer struct-type-property?]{ A property to identify @tech{require transformers}. The property -value must be a procedure that takes a syntax object and returns +value must be a procedure that takes the structure and returns a transformer +procedure; the returned transformer procedure takes a syntax object and returns import and import-source lists.} @@ -1018,14 +1019,16 @@ Like @racket[make-provide-transformer], but for a value that is a @defthing[prop:provide-transformer struct-type-property?]{ A property to identify @tech{provide transformers}. The property -value must be a procedure that takes a syntax object and mode list and +value must be a procedure that takes the structure and returns a transformer +procedure; the returned transformer procedure takes a syntax object and mode list and returns an export list.} @defthing[prop:provide-pre-transformer struct-type-property?]{ A property to identify @tech{provide pre-transformers}. The property -value must be a procedure that takes a syntax object and mode list and +value must be a procedure that takes the structure and returns a transformer +procedure; the returned transformer procedure takes a syntax object and mode list and returns a syntax object.}