chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Fwd: Peeking N characters in string ports


From: David Ireland
Subject: [Chicken-users] Fwd: Peeking N characters in string ports
Date: Fri, 11 Jan 2019 22:50:44 +1000


Hi there,

I'm reading from a (string) port and have a need to peek 2 characters inside without actually reading off the port (read-char).

I believe procedures such as unread-char seen in other Schemes would solve my problem however, this isn't available in Chicken it seems.

Would anyone have any suggestions?

Thanks
David








reply via email to

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