[Haskell-cafe] timing question

Arie Groeneveld bradypus at xs4all.nl
Sun Aug 3 07:06:40 EDT 2008

Sorry, should go the forum.

Ok, thanks. In this case the list consists of 6-digit alphanumeric
codes. So doing something like:

foldl1 (\x y -> g y) xs

will do the job?


Bulat Ziganshin schreef:
> Hello Arie,
> Sunday, August 3, 2008, 1:56:43 PM, you wrote:
> *Main>> last . f $ xs
> this way you will get only "spin" of list computed, not elements
> itself. something like sum should be used instead

More information about the Haskell-Cafe mailing list