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

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

On 2011-01-22, at 17:04, Vincent Manis wrote:
> If I have syntax-case or some other macro system, I can write a macro 
>  (in-floating-point
>    (/ (+ (- b) (sqrt discriminant)) (* 2.0 a)))
> that does the renaming inside the form. I would argue that this is clearer, and allows flonum arithmetic to coexist in the same piece of code with fixnum or generic arithmetic. It definitely beats renaming. 

What was I thinking? syntax-rules is good enough. 

-- vincent
Scheme-reports mailing list