You might want to take a look at Language::Functional.
In reply to Re: Haskell-style list folding by adrianh in thread Haskell-style list folding by FoxtrotUniform