curried

Maps one function over each side of a Bifunctor.

Signature

forall F, a, b, c, d:
  ((a) => c) => ((b) => d) => (F a b) => F c d
where F is Bifunctor

Documentation

Maps one function over each side of a Bifunctor.

Properties

Source Code

curry(3, (transformLeft, transformRight, bifunctor) =>    // eslint-disable-line no-magic-numbers
  bimap(bifunctor, transformLeft, transformRight)
)
Stability
stable
Licence
MIT
Module
folktale/fantasy-land/bimap
On This Page
Authors
Copyright
(c) 2013-2017 Quildreen Motta, and CONTRIBUTORS
Authors
  • @boris-marinov
  • Quildreen Motta
Maintainers
  • Quildreen Motta <queen@robotlolita.me> (http://robotlolita.me/)