[plt-scheme] " vs ||

From: Paul Graunke (ptg at ccs.neu.edu)
Date: Wed Jul 10 16:08:24 EDT 2002

At Wed, 10 Jul 2002 15:57:37 -0400 (EDT), David Feuer wrote:
> '|3 4 " 5| =DrScheme v200=> waits for more input. Seems to me it should
> produce |3 4 " 5|.  The only way I've found to get |3 4 " 5| is with
> (string->symbol "3 4 \" 5").  Is this correct behavior?
> 
This is a bug in the repl (interactions window) of DrScheme, apparently.
It works fine in the top window (and in mzscheme).

> Also, what's the chance of getting PLT to support literal symbols?  I'd
> like  #/a b \/c\\d/ to evaluate to the symbol |a b /c\d|.  I know I could
> use quote, but that would not accomplish my purpose.
> 
> David
> 

What is wrong with '|a b /c\d| for the symbol you want?

Paul




Posted on the users mailing list.