map

dev.constructive.eo.data.Affine.map
object map extends ForgetfulFunctor[Affine]

ForgetfulFunctor[Affine] — maps the focus B, passing the miss branch through. One allocation per hit-branch map; pure pass-through on miss.

Attributes

Source
Affine.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
map.type

Members list

Value members

Concrete methods

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

Attributes

Source
Affine.scala