ForgetfulFold

dev.constructive.eo.forgetful.ForgetfulFold
See theForgetfulFold companion object
trait ForgetfulFold[F[_, _]]

foldMap over the focus of F[_, _]. Miss / absent contributes Monoid.empty; hit runs f and folds.

Type parameters

F

the carrier

Attributes

Companion
object
Source
ForgetfulFold.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object fold
object fold
object eitherFFold
object tupleFFold

Members list

Value members

Abstract methods

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

Attributes

Source
ForgetfulFold.scala