unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Re: bug in read?
@ 2007-09-23 17:29 dsmich
  2007-09-25 16:22 ` Luigi Semenzato
  0 siblings, 1 reply; 5+ messages in thread
From: dsmich @ 2007-09-23 17:29 UTC (permalink / raw)
  To: Andy Wingo; +Cc: bug-guile, guile-user, Luigi Semenzato


---- Andy Wingo <wingo@pobox.com> wrote: 
> Hi,
> 
> Since it's a week later now and no one's answered:
> 
> On Mon 17 Sep 2007 23:49, "Luigi Semenzato" <luigi@semenzato.com> writes:
> 
> > Is this a reader bug?  Hash marks following
> > an integer are interpreted as zeros, and the
> > number is converted to real.
> >
> > guile> (read)
> > 44###
> > 44000.0
> > guile>
> >
> > If this is expected, section 5.5.2.6 (Read Syntax for Numerical Data)
> > should mention it.

This is the syntax for inexact numbers.  See r5rs sections 6.2.4 and 7.1.1

-Dale



_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 5+ messages in thread
* bug in read?
@ 2007-09-17 21:49 Luigi Semenzato
  2007-09-23 15:54 ` Andy Wingo
  0 siblings, 1 reply; 5+ messages in thread
From: Luigi Semenzato @ 2007-09-17 21:49 UTC (permalink / raw)
  To: guile-user

Is this a reader bug?  Hash marks following
an integer are interpreted as zeros, and the
number is converted to real.

guile> (read)
44###
44000.0
guile>

If this is expected, section 5.5.2.6 (Read Syntax for Numerical Data)
should mention it.

Should I report this problem to bug-guile@gnu.org?
Or is there an online bug database?  I couldn't find one.

Thanks!
Luigi


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-10-30 23:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-23 17:29 bug in read? dsmich
2007-09-25 16:22 ` Luigi Semenzato
2007-10-30 23:52   ` Neil Jerram
  -- strict thread matches above, loose matches on Subject: below --
2007-09-17 21:49 Luigi Semenzato
2007-09-23 15:54 ` Andy Wingo

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).