curried

Maps one function over each side of a Bifunctor.

This feature is experimental!

This API is still experimental, so it may change or be removed in future versions. You should not rely on it for production applications.

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
experimental
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/)