Possible

monocle.function.Possible$
See thePossible companion class

Attributes

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

Members list

Concise view

Value members

Concrete methods

def apply[S, A](optional: Optional[S, A]): Possible[S, A]

Attributes

Source:
Possible.scala
def fromIso[S, A, B](iso: Iso[S, A])(implicit ev: Possible[A, B]): Possible[S, B]

lift an instance of monocle.Optional using an Iso

lift an instance of monocle.Optional using an Iso

Attributes

Source:
Possible.scala

Deprecated and Inherited methods

def possible[S, A](implicit ev: Possible[S, A]): Optional[S, A]

Attributes

Deprecated
[Since version 3.0.0-M1]
Inherited from:
PossibleFunctions
Source:
Possible.scala

Implicits

Implicits

implicit def eitherPossible[A, B]: Possible[Either[A, B], B]

Attributes

Source:
Possible.scala
implicit def optionPossible[A]: Possible[Option[A], A]

Attributes

Source:
Possible.scala
implicit def tryPossible[A]: Possible[Try[A], A]

Attributes

Source:
Possible.scala
implicit def validatedPossible[A, B]: Possible[Validated[A, B], B]

Attributes

Source:
Possible.scala