Hello list.

Could anyone give me a hand and explaing why this

#lang racket
(struct tst (attr1 attr2))

(define-syntax (list->struct stx)
  (syntax-case stx ()
    [(_ attr-list) #`(tst #,@attr-list)]))

Fails?

-- 
Eduardo Bellani

"Resolve to serve no more, and you are at once freed."
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to