
2 Jan
2015
2 Jan
'15
10 a.m.
On Fri, 2 Jan 2015, Roman Cheplyaka wrote:
This is a big deal. That's a very common pattern.
However, I checked the Haskell 98 report (chapter 8, standard Prelude, PreludeList, page 120 in the PDF) and found that the new behaviour matches the specified one: zipWith :: (a -> b -> c) -> [a] -> [b] -> [c] zipWith z (a:as) (b:bs) = z a b : zipWith z as bs zipWith _ _ _ = []