Packages

trait Simple[F] extends VersionSpecificResultCompanion.Simple[F]

Provides companion object methods for result types that do not have a sane default error type.

If your specialised result type has a sane default (such as TypeError for DecodeResult in kantan.csv), use WithDefault instead.

Source
ResultCompanion.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Simple
  2. Simple
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def failure(f: F): Either[F, Nothing]

    Turns the specified value into a failure.

    Turns the specified value into a failure.

    Annotations
    @inline()
  2. def sequence[S, M[X] <: IterableOnce[X]](rs: M[Either[F, S]])(implicit bf: BuildFrom[M[Either[F, S]], S, M[S]]): Either[F, M[S]]

    Turns a collection of results into a result of a collection.

    Turns a collection of results into a result of a collection.

    Definition Classes
    Simple
    Annotations
    @inline()
  3. def success[S](s: S): Either[F, S]

    Turns the specified value into a success.

    Turns the specified value into a success.

    Annotations
    @inline()