mapWithIndex :: (a -> Int -> b) -> [a] -> [b] mapWithIndex f xs = zipWith f xs [0..]
This page was created 2007-10-14.
It is tagged with:
Contact me!