summaryrefslogtreecommitdiff
path: root/doc/ref
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2014-06-28 15:24:29 +0200
committerAndy Wingo <wingo@pobox.com>2014-06-29 14:19:00 +0200
commitd40b05386c72c5a17734ee3fd58e35e931ac46ef (patch)
treebc1b197b299cc4c65d6b177d6d4e1e0f23177fd6 /doc/ref
parentec412d75627aeffbd816ac351eabcd1b533540c6 (diff)
downloadguile-d40b05386c72c5a17734ee3fd58e35e931ac46ef.tar.gz
Fix bit-count* bug
* libguile/bitvectors.c (scm_bit_count_star): Fix typo introduced in 2005 refactor (!) in which the second arg was erroneously taken from the first arg. * test-suite/tests/bitvectors.test: Add test. * doc/ref/api-compound.texi: Fix doc example for u32vector selector.
Diffstat (limited to 'doc/ref')
-rw-r--r--doc/ref/api-compound.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ref/api-compound.texi b/doc/ref/api-compound.texi
index 055de9935..8ec32d687 100644
--- a/doc/ref/api-compound.texi
+++ b/doc/ref/api-compound.texi
@@ -1142,7 +1142,7 @@ For example,
@example
(bit-count* #*01110111 #*11001101 #t) @result{} 3
-(bit-count* #*01110111 #u(7 0 4) #f) @result{} 2
+(bit-count* #*01110111 #u32(7 0 4) #f) @result{} 2
@end example
@end deffn