scalaz.std

AllFunctions

object AllFunctions extends AllFunctions

Source
AllFunctions.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AllFunctions
  2. AllFunctions
  3. StringFunctions
  4. OrderingFunctions
  5. StreamFunctions
  6. OptionFunctions
  7. ListFunctions
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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 <^>[A, B](as: List[A])(f: (NonEmptyList[A]) ⇒ B)(implicit arg0: Monoid[B]): B

    Returns f applied to the contents of as if non-empty, otherwise, the zero element of the Monoid for the type B.

    Returns f applied to the contents of as if non-empty, otherwise, the zero element of the Monoid for the type B.

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

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

    Definition Classes
    Any
  7. final def ToScalazOrderFromOrdering[A](oa: scala.math.Ordering[A]): Order[A]

    Definition Classes
    OrderingFunctions
  8. final def adjacentPairs[A](as: List[A]): List[(A, A)]

    Definition Classes
    ListFunctions
  9. final def allPairs[A](as: List[A]): List[(A, A)]

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

    Definition Classes
    Any
  11. final def breakM[A, M[_]](as: List[A])(p: (A) ⇒ M[Boolean])(implicit arg0: Monad[M]): M[(List[A], List[A])]

    Definition Classes
    ListFunctions
  12. final def cata[A, X](oa: Option[A])(some: (A) ⇒ X, none: ⇒ X): X

    Catamorphism over the option.

    Catamorphism over the option. Returns the provided function some applied to item contained in the Option if it is defined, otherwise, the provided value none.

    Definition Classes
    OptionFunctions
  13. def charsNel(s: String, e: ⇒ NonEmptyList[Char]): NonEmptyList[Char]

    Constructs a non-empty list with the given string if it is not empty, otherwise, returns the second argument.

    Constructs a non-empty list with the given string if it is not empty, otherwise, returns the second argument.

    Definition Classes
    StringFunctions
  14. def charsNel(s: String): Option[NonEmptyList[Char]]

    Constructs a non-empty list with the value if it is not empty, otherwise, throws an error.

    Constructs a non-empty list with the value if it is not empty, otherwise, throws an error.

    Definition Classes
    StringFunctions
  15. def charsNelErr(s: String, message: ⇒ String): NonEmptyList[Char]

    Definition Classes
    StringFunctions
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def encode(s: String)(implicit c: CharSet): Array[Byte]

    Definition Classes
    StringFunctions
  18. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  20. final def filterM[A, M[_]](as: List[A])(p: (A) ⇒ M[Boolean])(implicit arg0: Monad[M]): M[List[A]]

    Definition Classes
    ListFunctions
  21. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  22. final def findM[A, M[_]](as: List[A])(p: (A) ⇒ M[Boolean])(implicit arg0: Monad[M]): M[Option[A]]

    Definition Classes
    ListFunctions
  23. final def fold[A, X](oa: Option[A])(some: (A) ⇒ X, none: ⇒ X): X

    Alias for cata

    Alias for cata

    Definition Classes
    OptionFunctions
  24. final def foldLift[F[_], A, B](oa: Option[A])(b: ⇒ B, k: (F[A]) ⇒ B)(implicit p: Pointed[F]): B

    Returns the given value if None, otherwise lifts the Some value and passes it to the given function.

    Returns the given value if None, otherwise lifts the Some value and passes it to the given function.

    Definition Classes
    OptionFunctions
  25. final def foldLiftOpt[A, B](oa: Option[A])(b: ⇒ B, k: (Option[A]) ⇒ B): B

    Returns the given value if None, otherwise lifts the Some value to Option and passes it to the given function.

    Returns the given value if None, otherwise lifts the Some value to Option and passes it to the given function.

    Definition Classes
    OptionFunctions
  26. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  27. final def groupByM[A, M[_]](as: List[A])(p: (A, A) ⇒ M[Boolean])(implicit arg0: Monad[M]): M[List[List[A]]]

    Definition Classes
    ListFunctions
  28. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  29. final def heads[A](as: Stream[A]): Stream[Stream[A]]

    Definition Classes
    StreamFunctions
  30. final def initz[A](as: List[A]): List[List[A]]

    Definition Classes
    ListFunctions
  31. final def intercalate[A](as1: Stream[Stream[A]], as2: Stream[A]): Stream[A]

    Definition Classes
    StreamFunctions
  32. final def intercalate[A](as1: List[List[A]], as2: List[A]): List[A]

    Definition Classes
    ListFunctions
  33. final def intersperse[A](as: Stream[A], a: A): Stream[A]

    Intersperse the element a between each adjacent pair of elements in as

    Intersperse the element a between each adjacent pair of elements in as

    Definition Classes
    StreamFunctions
  34. final def intersperse[A](as: List[A], a: A): List[A]

    Intersperse the element a between each adjacent pair of elements in as

    Intersperse the element a between each adjacent pair of elements in as

    Definition Classes
    ListFunctions
  35. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  36. final def mapAccumLeft[A, B, C](as: List[A])(c: C, f: (C, A) ⇒ (C, B)): (C, List[B])

    Definition Classes
    ListFunctions
  37. final def mapAccumRight[A, B, C](as: List[A])(c: C, f: (C, A) ⇒ (C, B)): (C, List[B])

    Definition Classes
    ListFunctions
  38. final def merge[A](s1: Stream[A], s2: Stream[A]): Stream[A]

    Definition Classes
    StreamFunctions
  39. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  40. final def none[A]: Option[A]

    Definition Classes
    OptionFunctions
  41. final def notify(): Unit

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

    Definition Classes
    AnyRef
  43. final def orEmpty[A, M[_]](oa: Option[A])(implicit arg0: Pointed[M], arg1: PlusEmpty[M]): M[A]

    Returns the item contained in the Option wrapped in type M if the Option is defined, otherwise, the empty value for type M.

    Returns the item contained in the Option wrapped in type M if the Option is defined, otherwise, the empty value for type M.

    Definition Classes
    OptionFunctions
  44. def parseBoolean(s: String): Validation[IllegalArgumentException, Boolean]

    Definition Classes
    StringFunctions
  45. def parseByte(s: String): Validation[NumberFormatException, Byte]

    Definition Classes
    StringFunctions
  46. def parseDouble(s: String): Validation[NumberFormatException, Double]

    Definition Classes
    StringFunctions
  47. def parseFloat(s: String): Validation[NumberFormatException, Float]

    Definition Classes
    StringFunctions
  48. def parseInt(s: String): Validation[NumberFormatException, Int]

    Definition Classes
    StringFunctions
  49. def parseLong(s: String): Validation[NumberFormatException, Long]

    Definition Classes
    StringFunctions
  50. def parseShort(s: String): Validation[NumberFormatException, Short]

    Definition Classes
    StringFunctions
  51. final def partitionM[A, M[_]](as: List[A])(p: (A) ⇒ M[Boolean])(implicit arg0: Monad[M]): M[(List[A], List[A])]

    Definition Classes
    ListFunctions
  52. def plural(s: String, n: Long): String

    Returns the same String value if the given value is 1 otherwise pluralises this String by appending an "s" unless this String ends with "y" and not one of ["ay", "ey", "iy", "oy", "uy"] in which case the 'y' character is chopped and "ies" is appended.

    Returns the same String value if the given value is 1 otherwise pluralises this String by appending an "s" unless this String ends with "y" and not one of ["ay", "ey", "iy", "oy", "uy"] in which case the 'y' character is chopped and "ies" is appended.

    Definition Classes
    StringFunctions
  53. final def powerset[A](as: List[A]): List[List[A]]

    Definition Classes
    ListFunctions
  54. final def some[A](a: A): Option[A]

    Definition Classes
    OptionFunctions
  55. final def spanM[A, M[_]](as: List[A])(p: (A) ⇒ M[Boolean])(implicit arg0: Monad[M]): M[(List[A], List[A])]

    Definition Classes
    ListFunctions
  56. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  57. final def tails[A](as: Stream[A]): Stream[Stream[A]]

    Definition Classes
    StreamFunctions
  58. final def tailz[A](as: List[A]): List[List[A]]

    Definition Classes
    ListFunctions
  59. final def takeUntilM[A, M[_]](as: List[A])(p: (A) ⇒ M[Boolean])(implicit arg0: Monad[M]): M[List[A]]

    Definition Classes
    ListFunctions
  60. final def takeWhileM[A, M[_]](as: List[A])(p: (A) ⇒ M[Boolean])(implicit arg0: Monad[M]): M[List[A]]

    Definition Classes
    ListFunctions
  61. final def toFailure[A, B](oa: Option[A])(b: ⇒ B): Validation[A, B]

    Definition Classes
    OptionFunctions
  62. final def toLeft[A, B](oa: Option[A])(b: ⇒ B): \/[A, B]

    Definition Classes
    OptionFunctions
  63. final def toNel[A](as: List[A]): Option[NonEmptyList[A]]

    Definition Classes
    ListFunctions
  64. final def toRight[A, E](oa: Option[A])(e: ⇒ E): \/[E, A]

    Definition Classes
    OptionFunctions
  65. def toString(): String

    Definition Classes
    AnyRef → Any
  66. final def toSuccess[A, E](oa: Option[A])(e: ⇒ E): Validation[E, A]

    Definition Classes
    OptionFunctions
  67. final def toZipper[A](as: Stream[A]): Option[Zipper[A]]

    Definition Classes
    StreamFunctions
  68. final def toZipper[A](as: List[A]): Option[Zipper[A]]

    Definition Classes
    ListFunctions
  69. def unfold[A, B](seed: A)(f: (A) ⇒ Option[(B, A)]): Stream[B]

    Definition Classes
    StreamFunctions
  70. final def unfoldForest[A, B](as: Stream[A])(f: (A) ⇒ (B, () ⇒ Stream[A])): Stream[Tree[B]]

    Definition Classes
    StreamFunctions
  71. final def unfoldForestM[A, B, M[_]](as: Stream[A])(f: (A) ⇒ M[(B, Stream[A])])(implicit arg0: Monad[M]): M[Stream[Tree[B]]]

    Definition Classes
    StreamFunctions
  72. def unsafeCharsNel(s: String): NonEmptyList[Char]

    Definition Classes
    StringFunctions
  73. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  76. final def zapp[A, B, C](a: Stream[A])(f: Stream[(A) ⇒ (B) ⇒ C]): Stream[(B) ⇒ C]

    Definition Classes
    StreamFunctions
  77. final def zipperEnd[A](as: Stream[A]): Option[Zipper[A]]

    Definition Classes
    StreamFunctions
  78. final def zipperEnd[A](as: List[A]): Option[Zipper[A]]

    Definition Classes
    ListFunctions

Inherited from AllFunctions

Inherited from StringFunctions

Inherited from math.OrderingFunctions

Inherited from StreamFunctions

Inherited from OptionFunctions

Inherited from ListFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped