From: Mikael Djurfeldt <djurfeldt@nada.kth.se>
Cc: bug-guile@gnu.org, djurfeldt@nada.kth.se, guile-devel@gnu.org
Subject: Re: Reader bug in 1.7
Date: Thu, 19 Feb 2004 22:04:57 -0500 [thread overview]
Message-ID: <xy765e230yu.fsf@nada.kth.se> (raw)
In-Reply-To: <1077241330.1718.20.camel@localhost> (Roland Orre's message of "Fri, 20 Feb 2004 02:42:10 +0100")
Roland Orre <orre@nada.kth.se> writes:
> A uniform vector of type double is read as a vector.
>
> guile-user> (array-prototype #i(1 2 3 4))
> ()
> guile-user> (array-prototype #s(1 2 3 4))
> 1.0
>
> I'm mostly using 1.7 now (I'm in research, not production) but I hadn't
> noticed this until now because most often I'm using float vectors. I
> found it when testing one of my uniform vector routines.
This is most likely caused by using older versions of libguile.h and
the other Guile includes when compiling your routines. The mismatch
in binary type identifier between object file and Guile library causes
the effect above.
When I do the above in my 1.7 I, correctly, get:
guile> (array-prototype #i(1 2 3 4))
1/3
guile> (array-prototype #s(1 2 3 4))
1.0
M
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
prev parent reply other threads:[~2004-02-20 3:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-20 1:42 Reader bug in 1.7 Roland Orre
2004-02-20 3:04 ` Mikael Djurfeldt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xy765e230yu.fsf@nada.kth.se \
--to=djurfeldt@nada.kth.se \
--cc=bug-guile@gnu.org \
--cc=guile-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).