Hi,

I think Alex is cooking you a verbose reply.  If you can see how the  
following work, you understand (set...) and (define...) completely  
and precisely why your example does what it does.

Cheers,
Ian

(syntax set-foo
   (lambda (node comp)
     [StdOut nextPutAll: '"SETTER "]
     [StdOut println: node]
     '42))

(syntax define-foo
   (lambda (node comp)
     [StdOut nextPutAll: '"DEFINER "]
     [StdOut println: node]
     '42))

(syntax define-send
   (lambda (node comp)
     [StdOut nextPutAll: '"SENDER "]
     [StdOut println: node]
     '42))

(set    (foo bar baz) qux)
(define (foo bar baz) qux peppermint poodles)
(define [foo bar: baz] qux poodles)

_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc

Reply via email to