Object/Class

kadai

Attempt

Related Docs: class Attempt | package kadai

Permalink

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
Visibility
  1. Public
  2. All

Type Members

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

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit object AttemptCatchable extends Catchable[Attempt]

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

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

    Permalink

    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]

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

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

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

    Permalink
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def clone(): AnyRef

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

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

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

    Permalink

    Puts the given error in an Attempt

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

    Permalink

    Puts the given error in an Attempt

  17. def finalize(): Unit

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

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

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

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

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

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

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

    Permalink

    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]

    Permalink

    Runs the given operation in try/catch.

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

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

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped