Class

scodec.interop.scalaz

AttemptSyntax

Related Doc: package scalaz

Permalink

implicit final class AttemptSyntax[A] extends AnyVal

Extension methods for an Attempt[A].

Source
package.scala
Linear Supertypes
AnyVal, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AttemptSyntax
  2. AnyVal
  3. Any
Implicitly
  1. by TransformSyntax
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AttemptSyntax(self: Attempt[A])

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to any2stringadd[AttemptSyntax[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (AttemptSyntax[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to ArrowAssoc[AttemptSyntax[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  6. def as[B](implicit as: Transformer[A, B]): AttemptSyntax[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to TransformSyntax[AttemptSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[AttemptSyntax] is in scope.
    Definition Classes
    TransformSyntax
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def ensuring(cond: (AttemptSyntax[A]) ⇒ Boolean, msg: ⇒ Any): AttemptSyntax[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to Ensuring[AttemptSyntax[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (AttemptSyntax[A]) ⇒ Boolean): AttemptSyntax[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to Ensuring[AttemptSyntax[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): AttemptSyntax[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to Ensuring[AttemptSyntax[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): AttemptSyntax[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to Ensuring[AttemptSyntax[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def exmap[B](f: (A) ⇒ Attempt[B], g: (B) ⇒ Attempt[A]): AttemptSyntax[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to TransformSyntax[AttemptSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[AttemptSyntax] is in scope.
    Definition Classes
    TransformSyntax
  13. def exmapc[B](f: (A) ⇒ Attempt[B])(g: (B) ⇒ Attempt[A]): AttemptSyntax[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to TransformSyntax[AttemptSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[AttemptSyntax] is in scope.
    Definition Classes
    TransformSyntax
  14. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to StringFormat[AttemptSyntax[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  15. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def narrow[B](f: (A) ⇒ Attempt[B], g: (B) ⇒ A): AttemptSyntax[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to TransformSyntax[AttemptSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[AttemptSyntax] is in scope.
    Definition Classes
    TransformSyntax
  18. def narrowc[B](f: (A) ⇒ Attempt[B])(g: (B) ⇒ A): AttemptSyntax[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to TransformSyntax[AttemptSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[AttemptSyntax] is in scope.
    Definition Classes
    TransformSyntax
  19. val self: Attempt[A]

    Permalink
  20. def toDisjunction: \/[Err, A]

    Permalink

    Converts this attempt to a disjunction.

  21. def toString(): String

    Permalink
    Definition Classes
    Any
  22. def toTask(f: (Err) ⇒ Throwable): Task[A]

    Permalink

    Converts this attempt to a task, using f to derive a Throwable if the attempt fails.

  23. def toTask: Task[A]

    Permalink

    Converts this attempt to a task.

  24. def widen[B](f: (A) ⇒ B, g: (B) ⇒ Attempt[A]): AttemptSyntax[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to TransformSyntax[AttemptSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[AttemptSyntax] is in scope.
    Definition Classes
    TransformSyntax
  25. def widenOpt[B](f: (A) ⇒ B, g: (B) ⇒ Option[A]): AttemptSyntax[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to TransformSyntax[AttemptSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[AttemptSyntax] is in scope.
    Definition Classes
    TransformSyntax
  26. def widenOptc[B](f: (A) ⇒ B)(g: (B) ⇒ Option[A]): AttemptSyntax[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to TransformSyntax[AttemptSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[AttemptSyntax] is in scope.
    Definition Classes
    TransformSyntax
  27. def widenc[B](f: (A) ⇒ B)(g: (B) ⇒ Attempt[A]): AttemptSyntax[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to TransformSyntax[AttemptSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[AttemptSyntax] is in scope.
    Definition Classes
    TransformSyntax
  28. def xmap[B](f: (A) ⇒ B, g: (B) ⇒ A): AttemptSyntax[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to TransformSyntax[AttemptSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[AttemptSyntax] is in scope.
    Definition Classes
    TransformSyntax
  29. def xmapc[B](f: (A) ⇒ B)(g: (B) ⇒ A): AttemptSyntax[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to TransformSyntax[AttemptSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[AttemptSyntax] is in scope.
    Definition Classes
    TransformSyntax
  30. def [B](y: B): (AttemptSyntax[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to ArrowAssoc[AttemptSyntax[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: AttemptSyntax[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to TransformSyntax[AttemptSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[AttemptSyntax] is in scope.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (attemptSyntax: TransformSyntax[AttemptSyntax, A]).self
    Definition Classes
    TransformSyntax

Deprecated Value Members

  1. def pxmap[B](f: (A) ⇒ B, g: (B) ⇒ Option[A]): AttemptSyntax[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttemptSyntax[A] to TransformSyntax[AttemptSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[AttemptSyntax] is in scope.
    Definition Classes
    TransformSyntax
    Annotations
    @deprecated
    Deprecated

    (Since version 1.7.0) Use widenOpt instead

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion TransformSyntax from AttemptSyntax[A] to TransformSyntax[AttemptSyntax, A]

Inherited by implicit conversion any2stringadd from AttemptSyntax[A] to any2stringadd[AttemptSyntax[A]]

Inherited by implicit conversion StringFormat from AttemptSyntax[A] to StringFormat[AttemptSyntax[A]]

Inherited by implicit conversion Ensuring from AttemptSyntax[A] to Ensuring[AttemptSyntax[A]]

Inherited by implicit conversion ArrowAssoc from AttemptSyntax[A] to ArrowAssoc[AttemptSyntax[A]]

Ungrouped