Hi,

Johan Hidding <[email protected]> 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’.


Reply via email to