Buy GNU books!
|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
Homogeneous numeric vectors have an external representation (read syntax) similar to normal Scheme vectors, but with an additional tag telling the vector's type.
#u16(1 2 3)
denotes a homogeneous numeric vector of three elements, which are the values 1, 2 and 3, represented as 16-bit unsigned integers. Correspondingly,
denotes a vector of two elements, which are the values 3.1415 and 2.71, represented as floating-point values of 64 bit precision.
Please note that the read syntax for floating-point vectors conflicts
with Standard Scheme, because there
#f is defined to be the
literal false value. That means, that with the loaded SRFI-4 module,
it is not possible to enter some list like
and hope that it will be parsed as a three-element list with the
#f and 3. In normal use, this should be no
problem, because people tend to terminate tokens sensibly when writing
|webmaster||delorie software privacy|
|Copyright © 2003 by The Free Software Foundation||Updated Jun 2003|