* how to get read-byte
@ 2012-01-06 9:58 Sascha Ziemann
2012-01-07 1:09 ` Daniel Hartwig
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Sascha Ziemann @ 2012-01-06 9:58 UTC (permalink / raw)
To: guile-user
I spend some time searching through the docs but I can not find a way
to get read-byte as defined by SRFI-56. Is there a way in Guile?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how to get read-byte
2012-01-06 9:58 how to get read-byte Sascha Ziemann
@ 2012-01-07 1:09 ` Daniel Hartwig
2012-01-07 2:27 ` Ian Price
2012-01-07 20:25 ` Thien-Thi Nguyen
2 siblings, 0 replies; 4+ messages in thread
From: Daniel Hartwig @ 2012-01-07 1:09 UTC (permalink / raw)
To: Sascha Ziemann; +Cc: guile-user
On 6 January 2012 17:58, Sascha Ziemann <ceving@gmail.com> wrote:
> I spend some time searching through the docs but I can not find a way
> to get read-byte as defined by SRFI-56. Is there a way in Guile?
>
Under 2.0 there is the (rnrs io ports) module:
-- Scheme Procedure: get-u8 port
-- C Function: scm_get_u8 (port)
Return an octet read from PORT, a binary input port, blocking as
necessary, or the end-of-file object.
which may or may not suit your purposes.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how to get read-byte
2012-01-06 9:58 how to get read-byte Sascha Ziemann
2012-01-07 1:09 ` Daniel Hartwig
@ 2012-01-07 2:27 ` Ian Price
2012-01-07 20:25 ` Thien-Thi Nguyen
2 siblings, 0 replies; 4+ messages in thread
From: Ian Price @ 2012-01-07 2:27 UTC (permalink / raw)
To: Sascha Ziemann; +Cc: guile-user
Sascha Ziemann <ceving@gmail.com> writes:
> I spend some time searching through the docs but I can not find a way
> to get read-byte as defined by SRFI-56. Is there a way in Guile?
Guile does not presently support SRFI 56, which was withdrawn
anyway. That said, there are binary io procedures in the (rnrs io ports)
library.
--
Ian Price
"Programming is like pinball. The reward for doing it well is
the opportunity to do it again" - from "The Wizardy Compiled"
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how to get read-byte
2012-01-06 9:58 how to get read-byte Sascha Ziemann
2012-01-07 1:09 ` Daniel Hartwig
2012-01-07 2:27 ` Ian Price
@ 2012-01-07 20:25 ` Thien-Thi Nguyen
2 siblings, 0 replies; 4+ messages in thread
From: Thien-Thi Nguyen @ 2012-01-07 20:25 UTC (permalink / raw)
To: Sascha Ziemann; +Cc: guile-user
() Sascha Ziemann <ceving@gmail.com>
() Fri, 6 Jan 2012 10:58:11 +0100
I spend some time searching through the docs but I can not find a way
to get read-byte as defined by SRFI-56. Is there a way in Guile?
(Unofficial) Guile 1.4.x includes SRFI 56. If you don't want to use it
directly, you can copy the source since it (too) is Free Software.
http://www.gnuvola.org/software/guile/doc/SRFI_002d56.html
NB: Guile 1.4.x license is GNU GPLv3+.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-01-07 20:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-06 9:58 how to get read-byte Sascha Ziemann
2012-01-07 1:09 ` Daniel Hartwig
2012-01-07 2:27 ` Ian Price
2012-01-07 20:25 ` Thien-Thi Nguyen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).