GNU bug report logs - #10491
unread-char and eof

Previous Next

Package: guile;

Reported by: Aleix Conchillo Flaqué <aconchillo <at> gmail.com>

Date: Thu, 12 Jan 2012 20:31:02 UTC

Severity: normal

Done: Daniel Hartwig <mandyke <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Aleix Conchillo Flaqué <aconchillo <at> gmail.com>
To: Daniel Hartwig <mandyke <at> gmail.com>
Cc: 10491 <at> debbugs.gnu.org
Subject: bug#10491: unread-char and eof
Date: Mon, 16 Jan 2012 10:57:44 -0800
On Fri, Jan 13, 2012 at 2:34 AM, Daniel Hartwig <mandyke <at> gmail.com> wrote:
>
> Suggestions welcome.  Personally I find the documentation sufficiently
> clear on the usage of unread-char only accepting a character value and
> equally clear that an eof value is not a character.

I totally agree. However, I think the documentation should help any
kind of user level. The documentation also does not say of any kind of
error reported by the function.

So, something like this, I think would help:

"Procedure will report an error if a non-character object (e.g.
end-of-file object) is given to it.".

Or something similar.

I don't have a strong opinion on this, so you can certainly mark the
bug as won't do. But I think it would help.

Best,

Aleix




This bug report was last modified 13 years and 178 days ago.

Previous Next


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