diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2011-02-08 21:20:57 +0100 |
---|---|---|
committer | Neil Jerram <neil@ossau.uklinux.net> | 2011-02-09 22:28:49 +0000 |
commit | ecb8733562079227b96b1a2884cd3cce6d3974bb (patch) | |
tree | 41787dd6a4519f19fd0c4f6d5d80625f3ac08ef0 /doc/ref/api-macros.texi | |
parent | e7450642312f7274c111a6efc05f24b80389ed64 (diff) | |
download | guile-ecb8733562079227b96b1a2884cd3cce6d3974bb.tar.gz |
docs: fix typos in manual, and a couple in code comments.
* doc/ref/api-binding.texi, doc/ref/api-compound.texi,
doc/ref/api-control.texi, doc/ref/api-debug.texi,
doc/ref/api-io.texi, doc/ref/api-macros.texi,
doc/ref/api-procedures.texi, doc/ref/api-scheduling.texi,
doc/ref/api-undocumented.texi, doc/ref/api-utility.texi,
doc/ref/compiler.texi, doc/ref/goops.texi,
doc/ref/libguile-concepts.texi, doc/ref/misc-modules.texi,
doc/ref/posix.texi, doc/ref/r6rs.texi, doc/ref/slib.texi,
doc/ref/srfi-modules.texi, doc/ref/sxml-match.texi,
doc/ref/tools.texi, doc/ref/vm.texi, doc/ref/web.texi,
doc/sources/env.texi, doc/sources/jimb-org.texi,
doc/sources/scheme-concepts.texi, doc/sources/unix.texi,
module/ice-9/optargs.scm: Fix typos.
* doc/r4rs/r5rs.texi: Likewise. Do not capitalize code symbols
even at the start of a sentence.
* doc/ref/api-data.texi: Likewise. Also, remove executable bit.
Diffstat (limited to 'doc/ref/api-macros.texi')
-rw-r--r-- | doc/ref/api-macros.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/ref/api-macros.texi b/doc/ref/api-macros.texi index 5f15fb7aa..f0eeb6e7e 100644 --- a/doc/ref/api-macros.texi +++ b/doc/ref/api-macros.texi @@ -299,7 +299,7 @@ expression. This property is sometimes known as @dfn{hygiene}, and it does aid in code cleanliness. In your macro definitions, you can feel free to introduce temporary -variables, without worrying about inadvertantly introducing bindings into the +variables, without worrying about inadvertently introducing bindings into the macro expansion. Consider the definition of @code{my-or} from the previous section: @@ -461,7 +461,7 @@ found @var{exp} referenced outside a @code{syntax} form. Since @code{syntax} appears frequently in macro-heavy code, it has a special reader macro: @code{#'}. @code{#'foo} is transformed by the reader into -@code{(syntax foo)}, just as @code{'foo} is tranformed into @code{(quote foo)}. +@code{(syntax foo)}, just as @code{'foo} is transformed into @code{(quote foo)}. The pattern language used by @code{syntax-case} is conveniently the same language used by @code{syntax-rules}. Given this, Guile actually defines @@ -763,7 +763,7 @@ macro. @code{syntax-rules} provides some syntax to effect this transformation more easily. @deffn {Syntax} identifier-syntax exp -Returns a macro transformer that will replace occurences of the macro with +Returns a macro transformer that will replace occurrences of the macro with @var{exp}. @end deffn @@ -814,7 +814,7 @@ bar-alias @result{} 30 @end example @end deffn -There is an extension to identifer-syntax which allows it to handle the +There is an extension to identifier-syntax which allows it to handle the @code{set!} case as well: @deffn {Syntax} identifier-syntax (var exp1) ((set! var val) exp2) |