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.
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
Properties
Versions | 0.1.0.0, 0.1.0.0, 0.2.0.0 |
---|---|
Change log | ChangeLog.md |
Dependencies | base (>=4.9.1 && <4.15) [details] |
License | BSD-3-Clause |
Copyright | (c) David James, 2020. |
Author | David James |
Maintainer | dj112358@outlook.com |
Category | Combinators |
Source repo | head: git clone https://github.com/davjam/MapWith.git |
Uploaded | by davtjames at 2020-07-13T16:47:25Z |
Modules
[Index] [Quick Jump]
Downloads
- MapWith-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees