Re: Switching off lazyness

2009-10-02 Thread Meikel Brandmeyer
Hi, Am 03.10.2009 um 06:09 schrieb Vagif Verdi: You can do so by with doall: (doall (map ... (filter ...))) Unfortunately this is not true. Yo are paying penalty for lazyness in this case. Try it yourself. Write non lazy versions of map and filter and time them against standard ones.

Re: Switching off lazyness

2009-10-02 Thread Vagif Verdi
On Oct 2, 1:37 pm, Meikel Brandmeyer wrote: > You can do so by with doall: > >      (doall (map ... (filter ...))) > Unfortunately this is not true. Yo are paying penalty for lazyness in this case. Try it yourself. Write non lazy versions of map and filter and time them against standard ones

Re: Switching off lazyness

2009-10-02 Thread Meikel Brandmeyer
Hi, Am 02.10.2009 um 22:01 schrieb Vagif Verdi: This is not a suggestion or anything, just entertaining myself with some uneducated thinking. What if all lazy functions (map filter etc) would check some global value and decide upon it lazyness ? Then we could do something like this: (eager

Switching off lazyness

2009-10-02 Thread Vagif Verdi
This is not a suggestion or anything, just entertaining myself with some uneducated thinking. What if all lazy functions (map filter etc) would check some global value and decide upon it lazyness ? Then we could do something like this: (eager (map ...(filter ...))) That would allow to not to