|
Re: Some random newbie questions: msg#00121lang.haskell.cafe
On Friday 07 January 2005 12:03, Ketil Malde wrote: > Naive use of foldl. I tend to think the default foldl should be > strict (ie. replaced by foldl') -- are there important cases where it > needs to be lazy? Hi, One simple example would be, > reverse = foldl (flip (:)) [] J.A. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Hugs vs GHC (again) was: Re: Some random newbiequestions: 00121, Marcin 'Qrczak' Kowalczyk |
|---|---|
| Next by Date: | Re: Hugs vs GHC (again) was: Re: Some random newbiequestions: 00121, Jérémy Bobbio |
| Previous by Thread: | Re: Some random newbie questionsi: 00121, O . Chitil |
| Next by Thread: | Re: Some random newbie questions: 00121, Marcin 'Qrczak' Kowalczyk |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |