final case class Result[+N, +R](nonaborts: Chain[N], result: R) extends Checked[Nothing, N, R] with Product with Serializable
- Alphabetic
- By Inheritance
- Result
- Checked
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def abortFlatMap[AA, NN >: N, RR >: R](f: (Nothing) => Checked[AA, NN, RR]): Checked[AA, NN, RR]
- Definition Classes
- Checked
- def ap[AA >: Nothing, NN >: N, RR](f: Checked[AA, NN, (R) => RR]): Checked[AA, NN, RR]
Applicative operation.
- def appendNonabort[NN >: N](nonabort: NN): Checked[Nothing, NN, R]
- Definition Classes
- Checked
- def appendNonaborts[NN >: N](nonaborts: Chain[NN]): Checked[Nothing, NN, R]
- Definition Classes
- Checked
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def biflatMap[AA, NN >: N, RR](f: (Nothing) => Checked[AA, NN, RR], g: (R) => Checked[AA, NN, RR]): Checked[AA, NN, RR]
- Definition Classes
- Checked
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def exists(pred: (R) => Boolean): Boolean
- Definition Classes
- Checked
- def flatMap[AA >: Nothing, NN >: N, RR](f: (R) => Checked[AA, NN, RR]): Checked[AA, NN, RR]
- Definition Classes
- Checked
- def fold[B](f: (Nothing, Chain[N]) => B, g: (Chain[N], R) => B): B
- Definition Classes
- Checked
- def forall(pred: (R) => Boolean): Boolean
- Definition Classes
- Checked
- def foreach(f: (R) => Unit): Unit
- Definition Classes
- Checked
- def getAbort: Option[Nothing]
- Definition Classes
- Checked
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getResult: Option[R]
- Definition Classes
- Checked
- def isAbort: Boolean
- Definition Classes
- Checked
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isResult: Boolean
- Definition Classes
- Checked
- def map[RR](f: (R) => RR): Checked[Nothing, N, RR]
- Definition Classes
- Checked
- def mapAbort[AA](f: (Nothing) => AA): Checked[AA, N, R]
- Definition Classes
- Checked
- def mapNonabort[NN](f: (N) => NN): Checked[Nothing, NN, R]
- Definition Classes
- Checked
- def mapNonaborts[NN](f: (Chain[N]) => Chain[NN]): Checked[Nothing, NN, R]
- Definition Classes
- Checked
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nonaborts: Chain[N]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def prependNonabort[NN >: N](nonabort: NN): Checked[Nothing, NN, R]
- Definition Classes
- Checked
- def prependNonaborts[NN >: N](nonaborts: Chain[NN]): Checked[Nothing, NN, R]
- Definition Classes
- Checked
- def product[AA >: Nothing, NN >: N, RR](other: Checked[AA, NN, RR]): Checked[AA, NN, (R, RR)]
Applicative product operation.
Applicative product operation. Errors from
this
take precedence overother
- Definition Classes
- Checked
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val result: R
- def reverseAp[AA >: Nothing, NN >: N, RR](f: Checked[AA, NN, (R) => RR]): Checked[AA, NN, RR]
Reverse applicative operation.
Reverse applicative operation. Errors from the argument (=
this
) take precedence over those from the function.- Definition Classes
- Checked
- def successful: Boolean
Is a Checked.Result with no errors
Is a Checked.Result with no errors
- Definition Classes
- Checked
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toEither: Either[Nothing, R]
Discards nonaborts.
Discards nonaborts.
- Definition Classes
- Checked
- def toEitherMergeNonaborts[L >: N](implicit ev: <:<[Nothing, NonEmptyChain[L]]): Either[NonEmptyChain[L], R]
Discards the result if there are nonaborts.
Discards the result if there are nonaborts.
- Definition Classes
- Checked
- def toEitherWithNonaborts[L, A1 >: Nothing <: L, N1 >: N <: L]: Either[NonEmptyChain[L], R]
Discards the result if there are nonaborts.
Discards the result if there are nonaborts.
- Definition Classes
- Checked
- def toOption: Option[R]
- Definition Classes
- Checked
- def toResult[NN, RR >: R, A1 >: Nothing <: NN, N1 >: N <: NN](default: => RR): Checked[Nothing, NN, RR]
Merges aborts with nonaborts, using the given
default
result if no result is contained.Merges aborts with nonaborts, using the given
default
result if no result is contained.- Definition Classes
- Checked
- def traverse[F[_], AA >: Nothing, NN >: N, RR](f: (R) => F[RR])(implicit F: Applicative[F]): F[Checked[AA, NN, RR]]
When Checked.Result, apply the function, marking the result as Checked.Result inside the Applicative's context, keeping the warnings.
When Checked.Result, apply the function, marking the result as Checked.Result inside the Applicative's context, keeping the warnings. when Checked.Abort, lift the Checked.Abort into the Applicative's context
- Definition Classes
- Checked
- def trimap[AA, NN, RR](abortMap: (Nothing) => AA, nonabortMap: (N) => NN, resultMap: (R) => RR): Checked[AA, NN, RR]
- Definition Classes
- Checked
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])