[racket] Racketrivia: Using ' as an identifier suffix
Why isn’t x’ either a reader error or an unfinished expression (like an unclosed paren where it allows a multi-line expression)?
I notice DrRacket treats it the 2nd way (which makes perfect sense to me) but the command-line repl and (read-eval-print-loop) both do the weird thing where it evaluates the x and saves the quote for the next expression.
Is there a reason that they don’t all do what DrRacket does?
On Jan 8, 2015, at 4:32 PM, Robby Findler <robby at eecs.northwestern.edu> wrote:
> Clearly proud. That's a helluva sequence. I had to scratch my head
> multiple times before replying.
>
> Robby
>
>
> On Thu, Jan 8, 2015 at 3:22 PM, Greg Hendershott
> <greghendershott at gmail.com> wrote:
>>> You are being so terribly tricked by the reader here.
>>
>> Thanks for the explanation! It all makes sense now.
>>
>> I'm not sure whether to be chagrined or perversely proud that I
>> managed to stumble onto this sequence. :)
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users