eitherFFold

dev.constructive.eo.forgetful.ForgetfulFold.eitherFFold
object eitherFFold extends ForgetfulFold[Either]

EitherLeft is Monoid.empty, Right runs f. @group Instances

Attributes

Source
ForgetfulFold.scala
Graph
Supertypes
trait ForgetfulFold[Either]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def foldMap[X, A, M : Monoid](f: A => M, ea: Either[X, A]): M

Attributes

Source
ForgetfulFold.scala