Re: Comments on draft 6 Arthur A. Gleckler (24 Feb 2012 05:10 UTC)
Re: [Scheme-reports] Comments on draft 6 John Cowan (24 Feb 2012 05:40 UTC)
Re: Comments on draft 6 Arthur A. Gleckler (24 Feb 2012 05:47 UTC)
Re: [Scheme-reports] Comments on draft 6 John Cowan (24 Feb 2012 06:09 UTC)
Re: Comments on draft 6 Arthur A. Gleckler (24 Feb 2012 06:12 UTC)
Re: [Scheme-reports] Comments on draft 6 Aaron W. Hsu (24 Feb 2012 23:27 UTC)
Re: [Scheme-reports] Comments on draft 6 Andy Wingo (24 Feb 2012 12:35 UTC)
Re: [Scheme-reports] Comments on draft 6 Jussi Piitulainen (24 Feb 2012 12:53 UTC)
Re: [Scheme-reports] Comments on draft 6 Andy Wingo (24 Feb 2012 14:54 UTC)
Re: [Scheme-reports] Comments on draft 6 Jussi Piitulainen (24 Feb 2012 15:23 UTC)
Re: [Scheme-reports] Comments on draft 6 Andy Wingo (24 Feb 2012 16:24 UTC)
Re: [Scheme-reports] Comments on draft 6 Aaron W. Hsu (24 Feb 2012 23:41 UTC)
Re: [Scheme-reports] Comments on draft 6 Aaron W. Hsu (24 Feb 2012 23:34 UTC)
Re: [Scheme-reports] Comments on draft 6 Andy Wingo (25 Feb 2012 18:00 UTC)
Re: [Scheme-reports] Comments on draft 6 Marc Feeley (24 Feb 2012 15:55 UTC)
Re: [Scheme-reports] Comments on draft 6 John Cowan (24 Feb 2012 21:22 UTC)
Re: [Scheme-reports] Comments on draft 6 Aaron W. Hsu (25 Feb 2012 00:28 UTC)
Re: [Scheme-reports] Comments on draft 6 John Cowan (25 Feb 2012 07:28 UTC)

Re: [Scheme-reports] Comments on draft 6 Andy Wingo 24 Feb 2012 16:24 UTC

On Fri 24 Feb 2012 16:23, Jussi Piitulainen <jpiitula@ling.helsinki.fi> writes:

>>   (define t 1)
>>   (define-syntax define-const
>>     (syntax-rules ()
>>       ((_ var val)
>>        (begin
>>          (define t val)
>>          (define (var) t)))))
>>   (define-const foo 2)
>>   t
>>
> Is it different from the following?
>
> (define t 1)
> (define t 2)
> (define (foo) t)
> t

Yes.  See

  http://thread.gmane.org/gmane.lisp.scheme.reports/304/focus=393

Regards,

Andy
--
http://wingolog.org/

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports