From: Eleanor McHugh Date: 2009-11-18T04:20:38+09:00 Subject: Re: Trajectories On 17 Nov 2009, at 18:22, Marnen Laibow-Koser wrote: > Caleb Clausen wrote: >> On 11/17/09, Marnen Laibow-Koser wrote: >>>> 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 >> >> The pi_over_4 method I posted earlier is a good one. You can't >> manipulate the _future_ result of that as if it were a number, because >> (among other things) it never returns. Need a lazy functional language >> for that kind of thing. (If that even suffices....) > > You can't manipulate the future in any language that I'm aware of -- > it's not there to manipulate yet! Are you thinking of lisp's > tail-recursion optimization? Yes you can: http://en.wikipedia.org/wiki/Futures_and_promises Ellie Eleanor McHugh Games With Brains http://slides.games-with-brains.net ---- raise ArgumentError unless @reality.responds_to? :reason