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?


=@@i


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



_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to