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

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

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


Change log
Dependencies base (>=4.9.1 && <4.15) [details]
License BSD-3-Clause
Copyright (c) David James, 2020.
Author David James
Category Combinators
Source repo head: git clone
Uploaded by davtjames at 2020-07-13T16:47:25Z




Maintainer's Corner

For package maintainers and hackage trustees