Caleb Clausen wrote:
[...]
>> To some extent, you can do that in Ruby.  Proc and Method are
>> first-class objects.
> 
> Yeah, but you can't manipulate their results when they return one if
> they ever do as if they were numbers.
>

Of course you can, unless I'm totally misunderstanding.  Got a concrete 
example

>>> how often is that capability
>>> really needed?
>>
>> Which capability?  Functional programming?  It can be useful.
> 
> The capability to represent transcendental numbers exactly. I mean,
> how much precision do you really need?

Depends on the task.  I suspect a couple hundred decimals would be the 
most you'd ever really need, and a couple of decades of decimals would 
probably suffice for most cases.


Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen / marnen.org
-- 
Posted via http://www.ruby-forum.com/.