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

Re: arithmetic issues

This page is part of the web mail archives of SRFI 77 from before July 7th, 2015. The new archives for SRFI 77 contain all messages, not just those from before July 7th, 2015.

On Thu, 19 Jan 2006, Marcin 'Qrczak' Kowalczyk wrote:

>Alan Watson <a.watson@xxxxxxxxxxxxxxxx> writes:

>> By "library", I do *not* mean "a body of code implemented in Scheme".
>> I mean "a set of procedures that can be exposed or not".

> Various kinds of numbers typically don't correspond to a separate set
> of procedures, but to augmenting the behavior of existing procedures
> and understanding some kinds of literals, both of which are hard to do
> from a library.

This is exactly true.  Additional numeric types require extensions
to existing functions (read and the various math functions), not
new functions.

In R5RS scheme there is no standard way to extend the behavior of
(read).  I believe that there ought to be.