On Tue, Feb 3, 2009 at 5:07 AM, Dan Larkin <d...@danlarkin.org> wrote: > > > On Feb 2, 2009, at 8:32 PM, Terrence Brannon wrote: > >> >> I was fooling around in the REPL and from the looks of the transcript, >> I typed the very same thing, yet in one case the REPL returned (quote >> foo) and in the other case it returned foo. >> >> Transcript follows: >> >> user=> \newline >> \newline >> user=> \c >> \c >> user=> nil >> nil >> user=> false >> false >> user=> :foo >> :foo >> user=> 'foo >> (quote foo) >> user=> 'foo >> foo >> >> How did that happen?
Is this the real transcript? Or was it edited at all? > My guess is you typed the single quote character twice by mistake: > > user=> ''foo > (quote foo) Or something like this: user=> some-string-ending-with-a-' java.lang.Exception: Unable to resolve symbol: some-string-ending-with-a- in this context (NO_SOURCE_FILE:0) 'foo (quote foo) user=> 'foo foo Older versions of clojure would have printed the "user=>" prompt after the error too: user=> something' java.lang.Exception: Unable to resolve symbol: something in this context (NO_SOURCE_FILE:0) user=> 'foo (quote foo) user=> 'foo foo -- Michael Wood <esiot...@gmail.com> --~--~---------~--~----~------------~-------~--~----~ 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 clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---