chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] file-read and let-values


From: Sascha Ziemann
Subject: [Chicken-users] file-read and let-values
Date: Mon, 19 Sep 2011 16:59:48 +0200

Is this the prefered way to use the return values of file-read?

(let-values (((data bytes)) (apply values (file-read fileno size)))

It looks a bit wired. Why does file-read not return values directly if
the language supports them?



reply via email to

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