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

-- 
Tony Morris
http://tmorris.net/



_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to