[r6rs-discuss] [Formal] (r6rs base) must also export _ and ... at level 1

From: Jed Davis <r6rs>
Date: Fri Jan 26 02:10:16 2007

On Thu, Jan 25, 2007 at 07:46:26AM -0500, AndrevanTonder wrote:
>
> My assumption was that ... and _ are bound in (r6rs base). If they are
> bound, exporting them is necessary for writing most useful macros. It did
> not even occur to me originally that an implementor might leave them
> unbound, thereby preventing users from being able to do various useful
> things to them.

On the other hand, if libraries that define syntax do opt to bind their
literals, and if something imports two libraries that both happen to use
the same piece of punctuation, then at least one of them will have to be
renamed. This seems less than ideal.

-- 
(let ((C call-with-current-continuation)) (apply (lambda (x y) (x y)) (map
((lambda (r) ((C C) (lambda (s) (r (lambda l (apply (s s) l))))))  (lambda
(f) (lambda (l) (if (null? l) C (lambda (k) (display (car l)) ((f (cdr l))
(C k)))))))    '((#\J #\d #\D #\v #\s) (#\e #\space #\a #\i #\newline)))))
Received on Fri Jan 26 2007 - 02:10:12 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC