diff options
author | Jason Earl <jearl@notengoamigos.org> | 2013-03-10 22:29:18 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2013-03-10 22:29:18 +0100 |
commit | a4b4fbbdaa3542e35ea436179200d071b57ff1ca (patch) | |
tree | bb2bbf36dac2a0e8ebe3201b77864a9beea4d673 /doc/ref/api-macros.texi | |
parent | e9381f58d1b0c9d8882328efecf938b45817e3dd (diff) | |
download | guile-a4b4fbbdaa3542e35ea436179200d071b57ff1ca.tar.gz |
excise use of "iff" in the manual
* doc/ref/api-compound.texi:
* doc/ref/api-control.texi:
* doc/ref/api-data.texi:
* doc/ref/api-macros.texi:
* doc/ref/api-modules.texi:
* doc/ref/api-procedures.texi:
* doc/ref/api-scheduling.texi:
* doc/ref/api-smobs.texi:
* doc/ref/api-undocumented.texi:
* doc/ref/api-utility.texi:
* doc/ref/compiler.texi:
* doc/ref/intro.texi:
* doc/ref/scheme-using.texi:
* doc/ref/sxml.texi:
* doc/ref/web.texi: Change uses of "iff" to "if, otherwise". Fixes bug
10302.
Diffstat (limited to 'doc/ref/api-macros.texi')
-rw-r--r-- | doc/ref/api-macros.texi | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/doc/ref/api-macros.texi b/doc/ref/api-macros.texi index 347d02589..dcbde9b30 100644 --- a/doc/ref/api-macros.texi +++ b/doc/ref/api-macros.texi @@ -1,6 +1,6 @@ @c -*-texinfo-*- @c This is part of the GNU Guile Reference Manual. -@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2009, 2010, 2011, 2012 +@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2009, 2010, 2011, 2012, 2013 @c Free Software Foundation, Inc. @c See the file guile.texi for copying conditions. @@ -520,7 +520,8 @@ is impossible with @code{syntax-rules}, given the datum matching forms. But with @code{syntax-case} it is easy: @deffn {Scheme Procedure} identifier? syntax-object -Returns @code{#t} iff @var{syntax-object} is an identifier. +Returns @code{#t} if @var{syntax-object} is an identifier, or @code{#f} +otherwise. @end deffn @example @@ -690,13 +691,13 @@ macros can use to compare, generate, and query objects of this data type. @deffn {Scheme Procedure} bound-identifier=? a b -Return @code{#t} iff the syntax objects @var{a} and @var{b} refer to the -same lexically-bound identifier. +Return @code{#t} if the syntax objects @var{a} and @var{b} refer to the +same lexically-bound identifier, or @code{#f} otherwise. @end deffn @deffn {Scheme Procedure} free-identifier=? a b -Return @code{#t} iff the syntax objects @var{a} and @var{b} refer to the -same free identifier. +Return @code{#t} if the syntax objects @var{a} and @var{b} refer to the +same free identifier, or @code{#f} otherwise. @end deffn @deffn {Scheme Procedure} generate-temporaries ls @@ -935,7 +936,7 @@ left-hand side of a @code{set!} expression, as in the following: (set! foo @var{val}) ;; expands via (foo-transformer #'(set! foo @var{val})) -;; iff foo-transformer is a "variable transformer" +;; if foo-transformer is a "variable transformer" @end example As the example notes, the transformer procedure must be explicitly @@ -1125,7 +1126,8 @@ for syntax-case. @deffn {Scheme Procedure} macro? obj @deffnx {C Function} scm_macro_p (obj) -Return @code{#t} iff @var{obj} is a syntax transformer. +Return @code{#t} if @var{obj} is a syntax transformer, or @code{#f} +otherwise. Note that it's a bit difficult to actually get a macro as a first-class object; simply naming it (like @code{case}) will produce a syntax error. But it is |