@hackage MapWith0.1.0.0

mapWith: like fmap, but with additional arguments (isFirst, isLast, etc).

fmap over Traversables (including lists), but pass additional parameters to the map function, such as isFirst, isLast, prevElt, nextElt, index from start or end, custom params. For examples see https://github.com/davjam/MapWith/blob/master/doc/examples.hs