Fold

monocle.Fold$
See theFold companion trait
object Fold extends FoldInstances

Attributes

Companion:
trait
Source:
Fold.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Fold.type

Members list

Concise view

Value members

Concrete methods

def fromFoldable[F[_] : Foldable, A]: Fold[F[A], A]

create a Fold from a Foldable

create a Fold from a Foldable

Attributes

Source:
Fold.scala
def select[A](p: A => Boolean): Fold[A, A]

Attributes

Source:
Fold.scala

Deprecated methods

def codiagonal[A]: Fold[Either[A, A], A]

Attributes

Deprecated
[Since version 3.0.0-M4]
Source:
Fold.scala
def id[A]: Fold[A, A]

Attributes

Deprecated
[Since version 3.0.0-M2]
Source:
Fold.scala
def void[S, A]: Fold[S, A]

Fold that points to nothing

Fold that points to nothing

Attributes

Deprecated
[Since version 3.0.0-M2]
Source:
Fold.scala

Implicits

Implicits

implicit def foldSyntax[S, A](self: Fold[S, A]): FoldSyntax[S, A]

Attributes

Source:
Fold.scala

Inherited implicits

implicit val foldChoice: Choice[Fold]

Attributes

Inherited from:
FoldInstances
Source:
Fold.scala