Re: [Readable-discuss] Readable version 1.0.2 released!
Readable Lisp/S-expressions with infix, functions, and indentation
Brought to you by:
dwheeler
From: David A. W. <dwh...@dw...> - 2014-06-29 13:15:22
|
On Sat, 28 Jun 2014 21:50:53 -0400, John Cowan <co...@me...> wrote: > Another point is that not supporting `else` is non-conformant all the > way back to R2RS. Not supporting it makes Guile 1.6 a Not-Quite-Scheme. Which just shows the need for standards and standards test suites. To be fair, guile fixed this years ago. > A third point is that a one-line hack for Guile 1.6 fixes the problem: > > (define else #t) > > Just make sure this line isn't present for any real Scheme. I doubt that'll work. "else" is also used in (cond-expand ...) and (case ...). I don't have a guile 1.6 handy, but I do have guile 1.8. In 1.8, this works: (case #\a (else (display "hi"))) yet this fails: (define else #t) (case #\a (else (display "hi"))) and I suspect the same would be true for guile 1.6. Thanks for the idea though!! --- David A. Wheeler |