scalaz.std.StringInstances

stringInstance

implicit object stringInstance extends Monoid[String] with Show[String] with Equal[String] with Order[String] with IsEmpty[[α]String]

Source
String.scala
Linear Supertypes
IsEmpty[[α]String], PlusEmpty[[α]String], Plus[[α]String], Order[String], Equal[String], Show[String], Monoid[String], Semigroup[String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. stringInstance
  2. IsEmpty
  3. PlusEmpty
  4. Plus
  5. Order
  6. Equal
  7. Show
  8. Monoid
  9. Semigroup
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait EmptyLaw extends PlusLaw

    Definition Classes
    PlusEmpty
  2. trait EqualLaw extends AnyRef

    Definition Classes
    Equal
  3. trait IsEmptyLaw extends EmptyLaw

    Definition Classes
    IsEmpty
  4. trait MonoidLaw extends SemigroupLaw

    Monoid instances must satisfy scalaz.Semigroup.SemigroupLaw and 2 additional laws:

  5. trait OrderLaw extends EqualLaw

    Definition Classes
    Order
  6. trait PlusLaw extends AnyRef

    Definition Classes
    Plus
  7. type SA[α] = String

  8. trait SemigroupLaw extends AnyRef

    A semigroup in type F must satisfy two laws:

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. def append(f1: String, f2: ⇒ String): String

    The binary operation to combine f1 and f2.

    The binary operation to combine f1 and f2.

    Implementations should not evaluate tbe by-name parameter f2 if result can be determined by f1.

    Definition Classes
    stringInstanceSemigroup
  7. final def applicative: Applicative[[α]String]

    A monoidal applicative functor, that implements point and ap with the operations zero and append respectively.

    A monoidal applicative functor, that implements point and ap with the operations zero and append respectively. Note that the type parameter α in Applicative[({type λ[α]=F})#λ] is discarded; it is a phantom type. As such, the functor cannot support scalaz.Bind.

    Definition Classes
    Monoid
  8. def apply(x: String, y: String): Ordering

    Definition Classes
    Order
  9. final def apply: Apply[[α]String]

    An scalaz.Apply, that implements ap with append.

    An scalaz.Apply, that implements ap with append. Note that the type parameter α in Apply[({type λ[α]=F})#λ] is discarded; it is a phantom type. As such, the functor cannot support scalaz.Bind.

    Definition Classes
    Semigroup
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. final def category: Category[[α, β]String]

    Every Monoid gives rise to a scalaz.Category, for which the type parameters are phantoms.

    Every Monoid gives rise to a scalaz.Category, for which the type parameters are phantoms.

    Definition Classes
    Monoid
    Note

    category.monoid = this

  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def compose: Compose[[α, β]String]

    Every Semigroup gives rise to a scalaz.Compose, for which the type parameters are phantoms.

    Every Semigroup gives rise to a scalaz.Compose, for which the type parameters are phantoms.

    Definition Classes
    Semigroup
    Note

    compose.semigroup = this

  14. def contramap[B](f: (B) ⇒ String): Order[B]

    Definition Classes
    OrderEqual
  15. def empty[A]: String

    Definition Classes
    stringInstancePlusEmpty
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equal(x: String, y: String): Boolean

    Definition Classes
    stringInstanceOrderEqual
  18. def equalIsNatural: Boolean

    returns

    true, if equal(f1, f2) is known to be equivalent to f1 == f2

    Definition Classes
    stringInstanceEqual
  19. def equalLaw: EqualLaw

    Definition Classes
    Equal
  20. val equalSyntax: EqualSyntax[String]

    Definition Classes
    Equal
  21. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  24. def greaterThan(x: String, y: String): Boolean

    Definition Classes
    Order
  25. def greaterThanOrEqual(x: String, y: String): Boolean

    Definition Classes
    Order
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. final def ifEmpty[B](a: String)(t: ⇒ B)(f: ⇒ B)(implicit eq: Equal[String]): B

    Definition Classes
    Monoid
  28. def isEmpty[A](s: SA[A]): Boolean

    Definition Classes
    stringInstanceIsEmpty
  29. def isEmptyLaw: IsEmptyLaw

    Definition Classes
    IsEmpty
  30. val isEmptySyntax: IsEmptySyntax[[α]String]

    Definition Classes
    IsEmpty
  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. def isMZero(a: String)(implicit eq: Equal[String]): Boolean

    Whether a == zero.

    Whether a == zero.

    Definition Classes
    Monoid
  33. def lessThan(x: String, y: String): Boolean

    Definition Classes
    Order
  34. def lessThanOrEqual(x: String, y: String): Boolean

    Definition Classes
    Order
  35. def max(x: String, y: String): String

    Definition Classes
    Order
  36. def min(x: String, y: String): String

    Definition Classes
    Order
  37. def monoid[A]: Monoid[String]

    Definition Classes
    PlusEmpty
  38. def monoidLaw: MonoidLaw

    Definition Classes
    Monoid
  39. val monoidSyntax: MonoidSyntax[String]

    Definition Classes
    Monoid
  40. def multiply(value: String, n: Int): String

    For n = 0, zero For n = 1, append(zero, value) For n = 2, append(append(zero, value), value)

    For n = 0, zero For n = 1, append(zero, value) For n = 2, append(append(zero, value), value)

    Definition Classes
    Monoid
  41. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  44. final def onEmpty[A, B](a: String)(v: ⇒ B)(implicit eq: Equal[String], mb: Monoid[B]): B

    Definition Classes
    Monoid
  45. final def onNotEmpty[B](a: String)(v: ⇒ B)(implicit eq: Equal[String], mb: Monoid[B]): B

    Definition Classes
    Monoid
  46. def order(x: String, y: String): Ordering

    Definition Classes
    stringInstanceOrder
  47. def orderLaw: OrderLaw

    Definition Classes
    Order
  48. val orderSyntax: OrderSyntax[String]

    Definition Classes
    Order
  49. def plus[A](f1: SA[A], f2: ⇒ SA[A]): String

    Definition Classes
    stringInstancePlus
  50. def plusEmptyLaw: EmptyLaw

    Definition Classes
    PlusEmpty
  51. val plusEmptySyntax: PlusEmptySyntax[[α]String]

    Definition Classes
    PlusEmpty
  52. def plusLaw: PlusLaw

    Definition Classes
    Plus
  53. val plusSyntax: PlusSyntax[[α]String]

    Definition Classes
    Plus
  54. final def reverseOrder: Order[String]

    Definition Classes
    Order
  55. def semigroup[A]: Semigroup[String]

    Definition Classes
    Plus
  56. def semigroupLaw: SemigroupLaw

    Definition Classes
    Semigroup
  57. val semigroupSyntax: SemigroupSyntax[String]

    Definition Classes
    Semigroup
  58. def show(f: String): Cord

    Definition Classes
    stringInstanceShow
  59. val showSyntax: ShowSyntax[String]

    Definition Classes
    Show
  60. def shows(f: String): String

    Definition Classes
    Show
  61. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  62. def toScalaOrdering: scala.math.Ordering[String]

    Definition Classes
    Order
    Note

    Order.fromScalaOrdering(toScalaOrdering).order(x, y)

    this.order(x, y)

  63. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. def xmlText(f: String): Text

    Definition Classes
    Show
  68. def zero: String

    The identity element for append.

    The identity element for append.

    Definition Classes
    stringInstanceMonoid

Inherited from IsEmpty[[α]String]

Inherited from PlusEmpty[[α]String]

Inherited from Plus[[α]String]

Inherited from Order[String]

Inherited from Equal[String]

Inherited from Show[String]

Inherited from Monoid[String]

Inherited from Semigroup[String]

Inherited from AnyRef

Inherited from Any

Ungrouped