guile-user
[Top][All Lists]
Advanced

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

Question about vectors, arrays, uniform vectors


From: tomas
Subject: Question about vectors, arrays, uniform vectors
Date: Mon, 4 Nov 2002 12:44:33 +0100
User-agent: Mutt/1.3.28i

Hi,

is there a canonical way to find out whether an SCM is
an array? (for a vector there is scm_vector_p(), for an
array I've just found scm_array_p(), which takes a second
argument, the element `type'. I'd go with an array of
numbers, i.e. anything I can convert to a double). Do
I have to check for every possible element type (i.e. int,
float, double, etc?).

Thanks
-- tomas




reply via email to

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