[racket-users] easy question about `free-identifier=?`

2015-07-24 Thread Matthew Butterick
According to the docs [1]: (let ([x 5]) (+ x 6)) Combining the lexical information from 'let' in the program above to 'x would not produce an identifier that is `free-identifier=?` to either 'x', since it does not appear in the scope of the 'x' binding. If so, then what is the flaw in

Re: [racket-users] easy question about `free-identifier=?`

2015-07-24 Thread Matthew Flatt
The documentation's intent is to describe about syntax objects that represent an expanded expression. When you write (define stx #'(let ([x 5]) (+ x 6))) then the syntax object `stx` doesn't represent an expansion. Instead, it's a pile symbols and pairs, all with the same lexical context (taken