Package

io.fsq.common

base

Permalink

package base

Visibility
  1. Public
  2. All

Type Members

  1. final case class Failure[+S, +F](v: F) extends Outcome[S, F] with Product with Serializable

    Permalink

    A failed outcome, instead of a io.fsq.common.base.Success.

  2. final case class FailureProjection[+S, +F](underlying: Outcome[S, F]) extends Product with Serializable

    Permalink

    Projects an io.fsq.common.base.Outcome as a monad.

  3. sealed trait Outcome[+S, +F] extends AnyRef

    Permalink

    Represents the outcome of an action where an action results in the disjoint union of two states: success or failure.

    Represents the outcome of an action where an action results in the disjoint union of two states: success or failure. The only instances of io.fsq.common.base.Outcome are io.fsq.common.base.Success and io.fsq.common.base.Failure. By default, io.fsq.common.base.Outcome operates as a monad over the successful state.

  4. final case class Success[+S, +F](v: S) extends Outcome[S, F] with Product with Serializable

    Permalink

    A successful outcome, instead of a io.fsq.common.base.Failure.

Value Members

  1. object Hex

    Permalink
  2. object Outcome

    Permalink

Ungrouped