org.atnos.eff.EitherCreation
See theEitherCreation companion object
trait EitherCreation
Attributes
- Companion
- object
- Source
- EitherCreation.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Members list
Type members
Types
Attributes
- Source
- EitherCreation.scala
Attributes
- Source
- EitherCreation.scala
Attributes
- Source
- EitherCreation.scala
Value members
Concrete methods
create an Either effect from a value possibly throwing a Throwable
create an Either effect from a value possibly throwing a Throwable
Attributes
- Source
- EitherCreation.scala
def fromCatchNonFatal[R, E, A](a: => A)(onThrowable: Throwable => E)(implicit member: MemberIn[[_] =>> Either[E, _$7], R]): Eff[R, A]
create an Either effect from a value possibly throwing an exception
create an Either effect from a value possibly throwing an exception
Attributes
- Source
- EitherCreation.scala
def fromEither[R, E, A](Either: Either[E, A])(implicit member: MemberIn[[_] =>> Either[E, _$2], R]): Eff[R, A]
create an Either effect from a single Either value
create a failed value
def optionEither[R, E, A](option: Option[A], e: => E)(implicit member: MemberIn[[_] =>> Either[E, _$1], R]): Eff[R, A]
create an Either effect from a single Option value
create a correct value
In this article