<br><div class="gmail_quote">2008/12/11 Andre Mayers <span dir="ltr"><<a href="mailto:andre.mayers@usherbrooke.ca">andre.mayers@usherbrooke.ca</a>></span><br><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"></div>(define slot-value<br><div class="Ih2E3d">
(ë (slot-name objet)<br>
(cadr (assq (quote slot-name) objet))))<br>
</div></blockquote><div><br>The (quote slot-name) is most likely redundant.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
<br>
(define-syntax (tata stx)<br>
(syntax-case stx ()<br>
[(_ a v (s ps ...) body ...)<br>
(syntax<br>
; (eval<br>
(list 'ë '(self ps ...)<br>
(list* 'let (map (ë (p-attr)<br>
(list p-attr<br>
</div> (list slot-value (quote p-attr)<br>
<div class="Ih2E3d">'self)))<br>
a)<br>
'(body ...)))<br></div></blockquote><div><br>Try <br><br>`(quote ,p-attr) <br><br>instead of <br><br>(quote p-attr)<br><br><br></div></div>