From 70560b853e776e30f49f575954cf80aa28efb377 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Tue, 4 Jan 2011 09:47:51 -0700 Subject: [PATCH] style guide: use `v' for "any value" (as opposed to `x') original commit: 6a34dce36d481689eb7630885bd49a31fe96d42c --- collects/scribblings/scribble/style.scrbl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/collects/scribblings/scribble/style.scrbl b/collects/scribblings/scribble/style.scrbl index f3a35551..90417f8f 100644 --- a/collects/scribblings/scribble/style.scrbl +++ b/collects/scribblings/scribble/style.scrbl @@ -77,6 +77,11 @@ procedure should have a single definition point. (Scribble issues a warning when a binding has multiple definition points.) Instead, use @racket[defproc*] or @racket[defform*]. +For function arguments, use @racket[v] as the meta-variable for ``any +value.'' Use @racket[x] as a meta-variable only for numerical +values. Other conventions include @racket[lst] for a list and +@racket[proc] for a procedure. + Pay attention to the difference between identifiers and meta-variables when using @racket[racket], especially outside of @racket[defproc] or @racket[defform]. Prefix a meta-variable with @litchar{_}; for