Hi,

Sorry for the late reply.

"Bill Schottstaedt" <[EMAIL PROTECTED]> writes:

> I think number? should not signal an error -- it should
> return either #t or #f:
>
> guile> (number? '1e310)
> ERROR: In procedure string->number:
> ERROR: Value out of range: 310
> ABORT: (out-of-range)
> guile> ERROR: In procedure scm_read_expression:
> ERROR: standard input:1:17: unexpected ")"
> ABORT: (read-error)

The error is not raised by `number?', it's raised by the reader, which
uses `string->number' internally.

Thanks,
Ludo'.



Reply via email to