Hey all, I am just picking up Clojure here for the first time, sorry
about the relative newbie question. One thing I noticed is that the
REPL prints out a sequence as a list, basically eval'ing rest until it
sees nil. This threw me off a bit when first learning the language in
the last day because it's not clear in the REPL output that this
expansion is taking place. Is there a logical reason this should just
be implictly expanding or is it an ease of use thing? Basically it
seems that perhaps it might be useful to somehow annoate the REPL
output indicating where a seq expansion into a list has taken place.
Ie:

=> '(1 2 3)
(1 2 3)

=> (seq '(1 2 3))
?(1 2 3)

or

(1 2 3)?

Where ? would be an ascii character, 'seq', or something of someone
smarter than myself's choosing :) This could be a REPL option, akin to
showing whitespace in a text editor or something. (Or, it might just
be my newb goggles causing me pain that will go away in the next 24
hours :))


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to