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

Re: [Scheme-reports] [r6rs-discuss] [scheme-reports] Scheme pattern matching & R*RS

On Sat, 22 Jan 2011, John Cowan wrote:

> Andre van Tonder scripsit:
>> You don't really gain much since you would still need to say something like
>>   (import (except (rnrs) + - * - /)
>>           (flonum-operations))
> Yes, that's what I mean by a single point of messiness.  But the alternative
> is to use prefixed names at *every* point of call, without even the option
> of changing or shortening the prefix.  IMHO that is a worse mess.

Technically, you can change or shorten it as follows:

   (import (rename (flonum-operations) (fx+ +) (fx- -) (fx* *) .......))

Scheme-reports mailing list