fold

dev.constructive.eo.data.Affine.fold
object fold extends ForgetfulFold[Affine]

ForgetfulFold[Affine] — miss empty, hit runs f on the focus. Carrier-owned (like map / traverse), so it resolves through Affine's companion with no import.

Attributes

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

Members list

Value members

Concrete methods

def foldMap[X, A, M : Monoid](f: A => M, fa: Affine[X, A]): M

Attributes

Source
Affine.scala