[Haskell-beginners] Re: Function nesting

Zbigniew Stanasiuk zbigergofun at gmail.com
Thu Jan 21 10:38:41 EST 2010


>Daniel Fischer <daniel.is.fischer <at> web.de> writes:

> 
> foldl' (\z x -> (x*z) `mod` m) 1 [1 .. 5]


Very clever. Thanks a lot. Need to study strict versions of fold.
Zbig






More information about the Beginners mailing list