On Nov 30, 1:15 pm, "Mark Volkmann" <[EMAIL PROTECTED]> wrote: > Related to this is the idea that maybe the REPL should automatically > wrap a line without parens with them. That way you could just enter > "quit" instead of "(quit)". That seems handy for many things. For > example, why not enter > > println "my-var is" my-var > > instead of > > (println "my-var is" my-var) > > It's entirely possibly I'm overlooking some reason why this is a bad idea.
Hi Mark, I can see where this would be convenient, but I don't think this is a good idea for general use. For one, it makes it impossible to type a bare symbol at the REPL to see its value. For another, it changes how the reader works, and as Chris pointed out you couldn't type literal data structures at the REPL. But now that the REPL is written in Clojure (SVN 1127) you could easily write your own "command-style" REPL with this behavior. That might be useful for scripting/embedding applications. -Stuart Sierra --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---