Hi,

I am learning Clojure by working thru Kent Dybvigs book in Scheme and
Clojure at the same time. A nice way to discover the differences ;-)

I wonder if the next definition is appropriate to test if something ia an
atom (as Scheme sees it):

(defn atom? [x]
      (not (coll? x)))

Thx,
   Arie

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

Reply via email to