summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2014-01-08 21:39:55 -0500
committerMark H Weaver <mhw@netris.org>2014-01-08 21:41:37 -0500
commitf659df44954a7f182361395396c5e0340b08c7dd (patch)
tree124b7fe1edb079d483eb67d2e3bd16f178114831
parent4101d14f2e8857cb50489a1027d853a1aa565239 (diff)
downloadguile-f659df44954a7f182361395396c5e0340b08c7dd.tar.gz
Fix doc that incorrectly claimed (integer? +inf.0) => #t.
Fixes <http://bugs.gnu.org/16356>. Reported by Zefram <zefram@fysh.org>. * doc/ref/api-data.texi (Integers): Add docs. Fix outdated example that incorrectly showed (integer? +inf.0) => #t.
-rw-r--r--doc/ref/api-data.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ref/api-data.texi b/doc/ref/api-data.texi
index 096970cb5..05469f765 100644
--- a/doc/ref/api-data.texi
+++ b/doc/ref/api-data.texi
@@ -1,7 +1,7 @@
@c -*-texinfo-*-
@c This is part of the GNU Guile Reference Manual.
@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2006, 2007,
-@c 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+@c 2008, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc.
@c See the file guile.texi for copying conditions.
@node Simple Data Types
@@ -346,7 +346,7 @@ Return @code{#t} if @var{x} is an exact or inexact integer number, else
@result{} #f
(integer? +inf.0)
-@result{} #t
+@result{} #f
@end lisp
@end deffn