[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Conversion decimal into fractional



--- James McCartney <asynth@xxxxxx> wrote:

> > and maybe these would be useful too:
> 
> I think I'll pass on these.
> 
> > + SequenceableCollection {
> > 	asFraction { ^this.collect { |el| el.asFraction }

This would make asFraction more like a unary operator,
which I agree with AdC would be useful. (Or maybe the
resemblance to a unary operator is what you're trying
to avoid?)

hjh

=====
____   James Harkins /// dewdrop world
\  /   jamshark70@xxxxxxxxx
 \/    http://www.dewdrop-world.net

"... love and hot pants, peace, harmony..."
  -- Dick Lee, Hot Pants: The Musical