On 6 June 2010 10:37, Kevin Downey <redc...@gmail.com> wrote: > what version of clojure are you using?
----------------------------------------------------------- Clojure 1.1.0 user=> > > On Sun, Jun 6, 2010 at 2:33 AM, Dave Pawson <dave.paw...@gmail.com> wrote: >> user=> (def pie 22/7) >> #'user/pie >> user=> (class pie) >> clojure.lang.Ratio >> user=> (numerator pie) >> java.lang.Exception: Unable to resolve symbol: numerator in this >> context (NO_SOURCE_FILE:19) >> >> Any idea why please? >> Should return 22? >> http://richhickey.github.com/clojure/clojure.core-api.html#clojure.core/numerator >> >> >> TIA >> >> -- >> Dave Pawson >> XSLT XSL-FO FAQ. >> Docbook FAQ. >> http://www.dpawson.co.uk >> >> -- >> 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 > > > > -- > 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 > 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 -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk -- 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