Hi, I would like to display the results of applying first, next, rest to different collections. In the end, I'd like to create an org table with the forms and their result.
I began simply with this: (doseq [op '(first next rest)] (doseq [cs '((nil) ('() '(1 2 3)) ([] [1 2 3]) ({} {:a 1 :b 2 :c 3}) (#{} #{1 2 3}))] (doseq [c cs] (println (showeval `(~op ~c)))))) To print: (first nil) => nil (first '()) => nil (first '(1 2 3)) => 1 ... Question: how would you implement showeval? Thanks, Sébastien -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.