MapWith

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

Version on this page:0.1.0.0
LTS Haskell 18.28:0.2.0.0
Stackage Nightly 2021-06-14:0.2.0.0
Latest on Hackage:0.2.0.0

See all snapshots MapWith appears in

BSD-3-Clause licensed by David James
Maintained by [email protected]
This version can be pinned in stack with:MapWith-0.1.0.0@sha256:b55c36b68c4a25f209b4013bb47d3184da9729df52e09ad45fb4473aaf3a850b,3061

Module documentation for 0.1.0.0

Depends on 1 package(full list with versions):

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

Changes

Revision history for MapWith

0.1.0.0 – 2020-06-24

  • First release