Printing Strings in Lists
Below are two operations that print (1 2 3 4). How can I do something similar to print (1 2 3 4) to standard out? (println '(1 2 3 4)) - (1 2 3 4) (def x 1 2 3) (println `(~x 4)) - (1 2 3 4) --Kevin Albrecht --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Printing Strings in Lists
prn On Fri, Jan 23, 2009 at 11:00 AM, Kevin Albrecht onlya...@gmail.com wrote: Below are two operations that print (1 2 3 4). How can I do something similar to print (1 2 3 4) to standard out? (println '(1 2 3 4)) - (1 2 3 4) (def x 1 2 3) (println `(~x 4)) - (1 2 3 4) --Kevin Albrecht -- And what is good, Phaedrus, And what is not good— Need we ask anyone to tell us these things? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Printing Strings in Lists
Ah, exactly what I was looking for, thanks. On Jan 23, 11:15 am, Kevin Downey redc...@gmail.com wrote: prn On Fri, Jan 23, 2009 at 11:00 AM, Kevin Albrecht onlya...@gmail.com wrote: Below are two operations that print (1 2 3 4). How can I do something similar to print (1 2 3 4) to standard out? (println '(1 2 3 4)) - (1 2 3 4) (def x 1 2 3) (println `(~x 4)) - (1 2 3 4) --Kevin Albrecht -- And what is good, Phaedrus, And what is not good— Need we ask anyone to tell us these things? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---