Re: [Scheme-reports] [r6rs-discuss] [scheme-reports] Scheme pattern matching & R*RS
Andre van Tonder 23 Jan 2011 00:48 UTC
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
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports