On Sat, 28 Jun 2014 21:50:53 -0400, John Cowan <co...@mercury.ccil.org> 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

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss

Reply via email to