unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Question about vectors, arrays, uniform vectors
@ 2002-11-04 11:44 tomas
  0 siblings, 0 replies; only message in thread
From: tomas @ 2002-11-04 11:44 UTC (permalink / raw)


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


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-04 11:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-04 11:44 Question about vectors, arrays, uniform vectors tomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).