[racket] syntax-e vs syntax->list

From: Roman Klochkov (kalimehtar at mail.ru)
Date: Fri Aug 15 01:55:11 EDT 2014

 What is the difference?

> (let ([stx #'(1 (+ 3 4) 5 6)]) (equal? (syntax->list stx) (syntax-e stx)))
#t Or syntax->list == (lambda (x) (let ([res (syntax-e x)]) (if (list? x) x #f))) ?


-- 
Roman Klochkov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20140815/41d87231/attachment.html>

Posted on the users mailing list.