Re: Using docs effectively (Ratio)

2010-01-29 Thread Meikel Brandmeyer
Patch submitted https://www.assembla.com/spaces/clojure/tickets/254-Expose-c-l-Ratio-s-accessors -- 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 modera

Re: Using docs effectively (Ratio)

2010-01-29 Thread Rich Hickey
On Thu, Jan 21, 2010 at 7:57 AM, Jacek Generowicz wrote: > Clojure has a Ratio type; presumably there should be an easy way to > find the numerator and denominator of a Ratio object. > > I didn't have much luck on clojure.org or with find-doc, but > >    (show 1/2) > > taught me that there are num

Using docs effectively (Ratio)

2010-01-21 Thread Jacek Generowicz
Clojure has a Ratio type; presumably there should be an easy way to find the numerator and denominator of a Ratio object. I didn't have much luck on clojure.org or with find-doc, but (show 1/2) taught me that there are numerator and denominator methods on Ratio's underlying Java implementati