[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to get read-byte
From: |
Daniel Hartwig |
Subject: |
Re: how to get read-byte |
Date: |
Sat, 7 Jan 2012 09:09:26 +0800 |
On 6 January 2012 17:58, Sascha Ziemann <address@hidden> 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.