Brian Harvey scripsit:
> All those /features/ that everyone else is worrying about will be in
> libraries that either language can load;
I hope that turns out to be possible; it might not, if the semantics of
Thing One libraries wind up being different from the semantics of Thing
Two libraries. But much of the *code* can be shared, provided support
for (include filename) is added to both.
In particular, I'm thinking that T1 libraries may be more anarchic, whereas
T2 libraries may have a more featureful module system. Details to follow.
> Unless it turns out that something in WG2 breaks the jewel-like beauty
> of Scheme, in which case WG1-Scheme implementations won't support it.
As I've argued repeatedly, there is nothing jewel-like at all about
Scheme's bag of procedures. The names are well-designed, mostly, but the
choice of what's in and what's out is just a scatter of Maclisp stuff,
which was, after all, all that R0RS and R1RS Scheme had.
> F'rinstance, WG1 implementations will have a library along the lines of
Here's the chibi-scheme implementation:
(define *values-tag* (list 'values))
(define (values . ls)
(if (and (pair? ls) (null? (cdr ls)))
(car ls)
(cons *values-tag* ls)))
(define (call-with-values producer consumer)
(let ((res (producer)))
(if (and (pair? res) (eq? *values-tag* (car res)))
(apply consumer (cdr res))
(consumer res))))
> But WG1-Scheme should, ironically, support some things not in
> WG2-Scheme, such as load, trace, transcript-on.
Well, trace has never been standardized, load is in R5RS only and is
optional, and transcript-* are inessential in R5RS and optional in R5RS.
So we've catered for *not* having them for a long time.
> And its identifiers should be case-insensitive, dammit!
I happen to prefer case-sensitivity, and I am recommending the
standardization of #cs and #ci, which control reader behavior selectively.
--
John Cowan [email protected] http://www.ccil.org/~cowan
Most people are much more ignorant about language than they are about
[other subjects], but they reckon that because they can talk and read and
write, their opinions about talking and reading and writing are as well
informed as anybody's. And since I have DNA, I'm entitled to carry on at
length about genetics without bothering to learn anything about it. Not.
--Mark Liberman
_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss