style guide: use v' for "any value" (as opposed to
x')
original commit: 6a34dce36d481689eb7630885bd49a31fe96d42c
This commit is contained in:
parent
e6c900ec2b
commit
70560b853e
|
@ -77,6 +77,11 @@ procedure should have a single definition point. (Scribble issues a
|
||||||
warning when a binding has multiple definition points.) Instead, use
|
warning when a binding has multiple definition points.) Instead, use
|
||||||
@racket[defproc*] or @racket[defform*].
|
@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
|
Pay attention to the difference between identifiers and meta-variables
|
||||||
when using @racket[racket], especially outside of @racket[defproc] or
|
when using @racket[racket], especially outside of @racket[defproc] or
|
||||||
@racket[defform]. Prefix a meta-variable with @litchar{_}; for
|
@racket[defform]. Prefix a meta-variable with @litchar{_}; for
|
||||||
|
|
Loading…
Reference in New Issue
Block a user