kadai

Attempt

object Attempt extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Attempt
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. implicit def AttemptEqual[A](implicit arg0: Equal[A]): Equal[Attempt[A]]

  5. object AttemptIso extends scalaz.Isomorphism.IsoFunctorTemplate[Attempt, Result]

    Attempt <~> Result is the IsoFunctor, or NaturalTransformation Isomophism, between Attempt and its underlying Result.

    Attempt <~> Result is the IsoFunctor, or NaturalTransformation Isomophism, between Attempt and its underlying Result.

    We use this to remove all the boilerplate from the typeclass instance declarations, and just use Result's definitions.

  6. implicit object AttemptMonad extends IsomorphismMonad[Attempt, Result]

  7. implicit def AttemptMonoid[A](implicit arg0: Monoid[A]): Monoid[Attempt[A]]

  8. object ToOption extends ~>[Attempt, Option]

  9. object ToOr extends ~>[Attempt, Result]

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def exception[A](t: Throwable): Attempt[A]

    Puts the given error in an Attempt

  15. def fail[A](message: String): Attempt[A]

    Puts the given error in an Attempt

  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def ok[A](value: A): Attempt[A]

    Puts the given strict value in Attempt.

    Puts the given strict value in Attempt. To run an operation safely, use safe()

  24. def safe[A](op: ⇒ A): Attempt[A]

    Runs the given operation in try/catch.

  25. def safely[A](op: IO[A]): IO[Attempt[A]]

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped