infix

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

infix(transformLeft, transformRight)
forall F, a, b, c, d:
  (F a b).((a) => c, (b) => d) => F c d
where F is Bifunctor

Documentation

Maps one function over each side of a Bifunctor.

Properties

Source Code

function(transformLeft, transformRight) {
  return bimap(this, transformLeft, transformRight);
}
Stability
experimental
Licence
MIT
Module
folktale/fantasy-land/bimap
On This Page
Authors
Copyright
(c) 2013-2017 Quildreen Motta, and CONTRIBUTORS
Authors
  • Quildreen Motta
Maintainers
  • Quildreen Motta <queen@robotlolita.me> (http://robotlolita.me/)