GNU bug report logs - #59647
[PATCH] Fix typos in docstrings.

Previous Next

Package: guile;

Reported by: jgart <jgart <at> dismail.de>

Date: Mon, 28 Nov 2022 02:21:02 UTC

Severity: normal

Tags: notabug, patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59647 in the body.
You can then email your comments to 59647 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#59647; Package guile. (Mon, 28 Nov 2022 02:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jgart <jgart <at> dismail.de>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Mon, 28 Nov 2022 02:21:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: bug-guile <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] Fix typos in docstrings.
Date: Sun, 27 Nov 2022 20:20:21 -0600
* libguile/boolean.c
    (scm_not): Fix typo.
    (scm_boolean_p): Fix typo.
---
 libguile/boolean.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libguile/boolean.c b/libguile/boolean.c
index e8370331f..930001a89 100644
--- a/libguile/boolean.c
+++ b/libguile/boolean.c
@@ -56,7 +56,7 @@ verify (SCM_BITS_DIFFER_IN_EXACTLY_TWO_BIT_POSITIONS		\
 
 SCM_DEFINE (scm_not, "not", 1, 0, 0, 
             (SCM x),
-            "Return @code{#t} iff @var{x} is false, else return @code{#f}.")
+            "Return @code{#t} if @var{x} is false, else return @code{#f}.")
 #define FUNC_NAME s_scm_not
 {
   return scm_from_bool (scm_is_false (x));
@@ -82,7 +82,7 @@ SCM_DEFINE (scm_nil_p, "nil?", 1, 0, 0,
 
 SCM_DEFINE (scm_boolean_p, "boolean?", 1, 0, 0, 
            (SCM obj),
-            "Return @code{#t} iff @var{obj} is @code{#t} or false.")
+            "Return @code{#t} if @var{obj} is @code{#t} or false.")
 #define FUNC_NAME s_scm_boolean_p
 {
   return scm_from_bool (scm_is_bool (obj));
-- 
2.38.1





Information forwarded to bug-guile <at> gnu.org:
bug#59647; Package guile. (Mon, 16 Jan 2023 22:21:02 GMT) Full text and rfc822 format available.

Message #8 received at 59647 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: jgart <jgart <at> dismail.de>
Cc: 59647 <at> debbugs.gnu.org
Subject: Re: bug#59647: [PATCH] Fix typos in docstrings.
Date: Mon, 16 Jan 2023 23:20:32 +0100
jgart <jgart <at> dismail.de> skribis:

> * libguile/boolean.c
>     (scm_not): Fix typo.
>     (scm_boolean_p): Fix typo.
> ---
>  libguile/boolean.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libguile/boolean.c b/libguile/boolean.c
> index e8370331f..930001a89 100644
> --- a/libguile/boolean.c
> +++ b/libguile/boolean.c
> @@ -56,7 +56,7 @@ verify (SCM_BITS_DIFFER_IN_EXACTLY_TWO_BIT_POSITIONS		\
>  
>  SCM_DEFINE (scm_not, "not", 1, 0, 0, 
>              (SCM x),
> -            "Return @code{#t} iff @var{x} is false, else return @code{#f}.")
> +            "Return @code{#t} if @var{x} is false, else return @code{#f}.")

Hi!  These are not typos: “iff” is short for “if and only if”.

Thanks,
Ludo’.




Added tag(s) notabug. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 16 Jan 2023 22:21:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 59647 <at> debbugs.gnu.org and jgart <jgart <at> dismail.de> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 16 Jan 2023 22:21:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guile <at> gnu.org:
bug#59647; Package guile. (Mon, 16 Jan 2023 23:18:01 GMT) Full text and rfc822 format available.

Message #15 received at 59647 <at> debbugs.gnu.org (full text, mbox):

From: "jgart" <jgart <at> dismail.de>
To: "Ludovic Courtès" <ludo <at> gnu.org>
Cc: 59647 <at> debbugs.gnu.org
Subject: Re: bug#59647: [PATCH] Fix typos in docstrings.
Date: Mon, 16 Jan 2023 23:17:20 +0000
> Hi! These are not typos: “iff” is short for “if and only if”.

Oops! 🦆 Thanks for clarifying that ;()




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 14 Feb 2023 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 70 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.