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