# profunctors

> Profunctor type classes and constructions for Haskell

Source: https://talira.ai/catalog/profunctors-q7jqpj7b
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-3-Clause[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Edward Kmett](https://talira.ai/orgs/edward-kmett.md)

profunctors is an open source Haskell library by Edward Kmett that defines the Profunctor type class and its refinements, such as Strong, Choice, Closed, Traversing and Mapping, with constructions like profunctor composition, Cayley, Yoneda, representable and corepresentable profunctors, Ran and Rift.

## Links

- GitHub: https://github.com/ekmett/profunctors

## Problems it solves

- the Profunctor type class for my Haskell optics code
- write profunctor optics in Haskell without depending on all of lens
- Strong and Choice profunctors in Haskell

## Features

- Profunctor type class
- Strong, Choice, Closed, Traversing and Mapping classes
- profunctor composition, Cayley and Yoneda constructions
- representable and corepresentable profunctors (Rep, Sieve)
- Ran and Rift

## Trust

Overall: 0.35 out of 1.
Signals: maintenance 0.46, adoption 0.38, momentum 0.04, community 0.62, backing 0.30, extensibility 0.00.

- last commit 2 months ago
- 1 commits in the last 90 days
- 74 GitHub stars
- 35 contributors
- backed by Edward Kmett

## Alternatives

- [microlens](https://talira.ai/catalog/microlens-7d9zprsq.md): A lightweight lens library for Haskell, compatible with lens
- [bifunctors](https://talira.ai/catalog/bifunctors-4w4dgqc2.md): Haskell bifunctors, bifoldables and bitraversables
- [contravariant](https://talira.ai/catalog/contravariant-2n3f835e.md): Contravariant functors for Haskell

## Sources

[^1]: https://github.com/ekmett/profunctors/blob/5/profunctors.cabal (checked 28 Nov 2026)
[^2]: https://github.com/ekmett/profunctors/blob/5/LICENSE (checked 28 Nov 2026)
