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

[ bsd3, combinators, library ] [ Propose Tags ]

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

Versions [RSS] [faq],
Change log
Dependencies base (>=4.9.1 && <4.15) [details]
License BSD-3-Clause
Copyright (c) David James, 2020.
Author David James
Revised Revision 1 made by davtjames at 2020-07-28T15:21:23Z
Category Combinators
Home page
Source repo head: git clone
Uploaded by davtjames at 2020-07-13T16:51:51Z
Distributions LTSHaskell:, NixOS:
Downloads 223 total (16 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2020-07-13 [all 1 reports]


[Index] [Quick Jump]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees