Re: [racket-dev] A curious question about quote

2011-01-26 Thread Jens Axel Søgaard
2011/1/26 J. Ian Johnson : > Hello all. I have a historical question about quoted constants. Does anyone > know why '1 = 1? > My intuition is that this is an artifact of conflating quote with list > constructors. Is that indeed the case? Depends on what you think of, when you say "conflating quo

Re: [racket-dev] A curious question about quote

2011-01-26 Thread Neil Van Dyke
Like Joe said. I think that this "quote" behavior is a very practical convenience that Scheme inherited, not something about which to hurt one's brain trying to discern the underlying pure truths. There are some confusing bits. For example: #lang racket (equal? (quote 1) 1) ;==> #t (equal? (

Re: [racket-dev] A curious question about quote

2011-01-26 Thread Joe Marshall
On Wed, Jan 26, 2011 at 8:02 AM, J. Ian Johnson wrote: > Hello all. I have a historical question about quoted constants. Does anyone > know why '1 = 1? My intuition is that this is an artifact of conflating quote > with list constructors. Is that indeed the case? I doubt it. More likely it was

[racket-dev] A curious question about quote

2011-01-26 Thread J. Ian Johnson
Hello all. I have a historical question about quoted constants. Does anyone know why '1 = 1? My intuition is that this is an artifact of conflating quote with list constructors. Is that indeed the case? > (equal? '('1 '2) '(1 2)) #f > (equal? (list '1 '2) (list 1 2)) #t Thanks, -Ian ___