kadai

Attempt

Related Docs: class Attempt | package kadai

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

Type Members

  1. type InvalidOr[A] = \/[Invalid, A]

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 object AttemptCatchable extends Catchable[Attempt]

  5. implicit def AttemptEqual[A](implicit arg0: Equal[A]): Equal[Attempt[A]]

  6. object AttemptIso extends scalaz.Isomorphism.IsoFunctorTemplate[Attempt, InvalidOr]

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

    Attempt <~> Result is the IsoFunctor, or NaturalTransformation Isomorphism, 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.

  7. implicit object AttemptMonad extends IsomorphismMonad[Attempt, InvalidOr]

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

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

  10. object ToOr extends ~>[Attempt, InvalidOr]

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

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

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

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

    Puts the given error in an Attempt

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

    Puts the given error in an Attempt

  17. def finalize(): Unit

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

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

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

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

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

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

    Definition Classes
    AnyRef
  24. 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()

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

    Runs the given operation in try/catch.

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

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

    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped