talira

distributive

Distributive functors for Haskell, the dual of Traversable

open sourceBSD-3-Clausefree

distributive is a Haskell package that defines distributive functors, the dual of Traversable. It's by Edward Kmett.

Problems it solves

  • distribute a functor over another in Haskell
  • use the Distributive class for representable functors
  • dual of traverse in Haskell

Features

  • Distributive type class
  • dual of Traversable

Alternatives

The same job

These do what distributive does.

  1. adjunctions Adjunctions and representable functors for Haskell
  2. contravariant Contravariant functors for Haskell
  3. free Free monads, free applicatives and cofree comonads for Haskell
  4. bifunctors Haskell bifunctors, bifoldables and bitraversables

Compare distributive with the top 3