Re: Delays and their efficiency

2009-01-15 Thread bOR_
Thanks for reminding me about #1 ;) On Jan 14, 11:08 pm, Rich Hickey wrote: > On Jan 14, 2:57 pm, Rich Hickey wrote: > > > > > On Jan 13, 12:39 pm, samppi wrote: > > > > Recently, I asked how to make a function evaluate its arguments lazily > > > (http://groups.google.com/group/clojure/browse_

Re: Delays and their efficiency

2009-01-14 Thread Rich Hickey
On Jan 14, 2:57 pm, Rich Hickey wrote: > On Jan 13, 12:39 pm, samppi wrote: > > > > > Recently, I asked how to make a function evaluate its arguments lazily > > (http://groups.google.com/group/clojure/browse_thread/thread/ > > cd01ef39c2b62530), and I was given a good solution: use Delay objec

Re: Delays and their efficiency

2009-01-14 Thread Rich Hickey
On Jan 13, 12:39 pm, samppi wrote: > Recently, I asked how to make a function evaluate its arguments lazily > (http://groups.google.com/group/clojure/browse_thread/thread/ > cd01ef39c2b62530), and I was given a good solution: use Delay objects > (with the delay and force functions). > > I wante

Re: Delays and their efficiency

2009-01-14 Thread Michael Reid
On Tue, Jan 13, 2009 at 12:39 PM, samppi wrote: > > Recently, I asked how to make a function evaluate its arguments lazily > (http://groups.google.com/group/clojure/browse_thread/thread/ > cd01ef39c2b62530), and I was given a good solution: use Delay objects > (with the delay and force functions)