[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: array vs. bytevector
From: |
Ludovic Courtès |
Subject: |
Re: array vs. bytevector |
Date: |
Thu, 15 Sep 2011 17:08:19 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
Hi,
Johan Hidding <address@hidden> skribis:
> It would be simplest if (put-bytevector ...) would
> accept an array as argument, but this gives a type-error
It actually works with SRFI-4 vectors (info "(guile) SRFI-4 and
Bytevectors"):
scheme@(guile-user)> (use-modules(rnrs io ports))
scheme@(guile-user)> (put-bytevector (%make-void-port "w") #u8(1 2 3))
Does it help?
Ludo’.