# indexed-traversable

> FunctorWithIndex, FoldableWithIndex and TraversableWithIndex for Haskell

Source: https://talira.ai/catalog/indexed-traversable-85zf8der
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / functional programming](https://talira.ai/categories/libraries/functional-programming), [languages / haskell](https://talira.ai/categories/languages/haskell)
- Licence: BSD-2-Clause[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [haskellari](https://talira.ai/orgs/haskellari.md)

indexed-traversable is a Haskell package that provides three generalizations of the standard classes: FunctorWithIndex (`imap`), FoldableWithIndex (`ifoldMap`) and TraversableWithIndex (`itraverse`), which pass each element's index to the function. It has instances for types in GHC's boot libraries, with more in the companion indexed-traversable-instances package. It was written by Edward Kmett and is maintained by Oleg Grenrus.

## Links

- GitHub: https://github.com/haskellari/indexed-traversable

## Problems it solves

- map over a container with each element's index in Haskell
- traverse a structure with indices in Haskell
- use indexed folds without depending on lens

## Features

- FunctorWithIndex, FoldableWithIndex and TraversableWithIndex classes
- instances for GHC boot library types
- companion package with more instances

## Trust

Overall: 0.20 out of 1.
Signals: maintenance 0.27, adoption 0.19, momentum 0.01, community 0.24, backing 0.30, extensibility 0.00.

- 8 GitHub stars
- 3 contributors
- backed by haskellari

Warnings:

- last commit 6 months ago

## Sources

[^1]: https://github.com/haskellari/indexed-traversable/blob/master/indexed-traversable/LICENSE (checked 29 Nov 2026)
[^2]: https://github.com/haskellari/indexed-traversable/blob/master/indexed-traversable/indexed-traversable.cabal (checked 29 Nov 2026)
