chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] Fix


From: John Cowan
Subject: Re: [Chicken-hackers] Fix
Date: Fri, 14 Apr 2017 13:13:29 -0400


On Fri, Apr 14, 2017 at 10:40 AM, Moritz Heidkamp <address@hidden> wrote:

char-ready? on string input ports would return #f when they've reached
the end of their underlying string. However, char-ready? is supposed to
return #t in this case.

Yes.  The semantics of char-ready? is that it returns #f if there are no characters available now, but there might be some available in future.  In particular, at EOF there is always an EOF object available.

-- 
John Cowan          http://vrici.lojban.org/~cowan        address@hidden
Schlingt dreifach einen Kreis vom dies!
Schliesst euer Aug vor heiliger Schau,
Denn er genoss vom Honig-Tau,
Und trank die Milch vom Paradies. 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]