directTuple

dev.constructive.eo.forgetful.ForgetfulFunctor.directTuple
object directTuple extends ForgetfulFunctor[Tuple2]

Direct Tuple2 — the hot Lens .modify / .replace path relies on skipping the Bifunctor[Tuple2].bimap closure allocation. Do NOT define competing instances downstream.

Attributes

Source
ForgetfulFunctor.scala
Graph
Supertypes
trait ForgetfulFunctor[Tuple2]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def map[X, A, B](fa: (X, A), f: A => B): (X, B)

Attributes

Source
ForgetfulFunctor.scala