On 2/29/12 11:42 PM, Tony Morris wrote:
On 01/03/12 14:40, wren ng thornton wrote:Of course, you can simplify the implementation by:inter f xs = zipWith f xs (tail xs)inter f = zipWith f <*> tail
Whee, golf! :) -- Live well, ~wren _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe