[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Goops, set! and define-syntax throuble
From: |
Keith Wright |
Subject: |
Re: Goops, set! and define-syntax throuble |
Date: |
Wed, 7 Mar 2001 22:32:43 -0500 |
> > The syntax (set! <setter> <value>) is a Guile extension (called
> > gerneralized set!), which is not supported by syntax-case, apparently.
> > syntax-case only allows the R5RS set! syntax.
>
> This bug has been fixed in CVS Guile. Please replace ice-9/psyntax.ss
> and ice-9/psyntax.pp with the following two files:
>
> Content-Disposition: attachment; filename=psyntax.ss
> Content-Description: ice-9/psyntax.ss
>
> ;;; Portable implementation of syntax-case
> ;;; Extracted from Chez Scheme Version 5.9f
> ;;; Authors: R. Kent Dybvig, Oscar Waddell, Bob Hieb, Carl Bruggeman
According to 'diff', the difference between this and the original
file by Dybvig et.al. is the addition of the following lines:
< ((_ (getter arg ...) val)
< (build-application s
< (chi (syntax (setter getter)) r w)
< (map (lambda (e) (chi e r w))
< (syntax (arg ... val)))))
but there should be a comment like:
;;; the following case was added by Mikael Djurfeldt
;;; to handle Guile's generalized SET! (2001-03-01)
(assuming that it was, in fact, MDJ who added the patch.)
GPL> cause the modified files to carry prominent notices
GPL> stating who last changed such files and the date
--
-- Keith Wright <address@hidden>
Programmer in Chief, Free Computer Shop <http://www.free-comp-shop.com>
--- Food, Shelter, Source code. ---
- Goops, set! and define-syntax throuble, Ingo Ruhnke, 2001/03/06
- Re: Goops, set! and define-syntax throuble, Martin Grabmueller, 2001/03/07
- Re: Goops, set! and define-syntax throuble, Mikael Djurfeldt, 2001/03/07
- Re: Goops, set! and define-syntax throuble,
Keith Wright <=
- Re: Goops, set! and define-syntax throuble, Mikael Djurfeldt, 2001/03/08
- Re: Goops, set! and define-syntax throuble, Marius Vollmer, 2001/03/08
- Re: Goops, set! and define-syntax throuble, Mikael Djurfeldt, 2001/03/08
- Re: Goops, set! and define-syntax throuble, Keith Wright, 2001/03/09
- Re: Goops, set! and define-syntax throuble, Dirk Herrmann, 2001/03/10
- Re: Goops, set! and define-syntax throuble, Keith Wright, 2001/03/11