Hi Mark, didn't know about that. But I'm glad it appears to be okay then.
Arie 2008/12/5 Mark McGranaghan <[EMAIL PROTECTED]> > > This is indeed the definition used in the clojure.contrib.pred library: > > http://github.com/kevinoneill/clojure-contrib/tree/master/src/clojure/contrib/pred.clj#L45 > > - Mark M. > > On Fri, Dec 5, 2008 at 8:07 AM, Arie van Wingerden <[EMAIL PROTECTED]> > wrote: > > 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 -~----------~----~----~----~------~----~------~--~---