Package

scalaz

Permalink

package scalaz

Scalaz: Type classes and pure functional data structures for Scala.

This package, scalaz, contains:

Type class instances and other functions related to the Scala and Java standard library are in scalaz.std

Implicit conversions and wrapper classes that provide a more convenient syntax for accessing the functionality of the library are in scalaz.syntax.

Type Classes Index

Data Structures Index

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. scalaz
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class -\/[A, B](a: A) extends \/[A, B] with Product with Serializable

    Permalink

    A left disjunction

    A left disjunction

    Often used to represent the failure case of a result

  2. sealed abstract class /~\[A[_], B[_]] extends AnyRef

    Permalink

    Type-aligned pair.

    Type-aligned pair. Isomorphic to

    (F[A], G[A]) forSome { type A }

    but more robust with respect to type inference.

    Notation is conjunction /\ blended with ~, which is often used to indicate higher kindedness.

  3. sealed class :+:[M, N] extends AnyRef

    Permalink

    The coproduct (or free product) of monoids M and N.

    The coproduct (or free product) of monoids M and N. Conceptually this is an alternating list of M and N values, with the identity as the empty list, and composition as list concatenation that combines adjacent elements when possible.

  4. type :<:[F[_], G[_]] = Inject[F, G]

    Permalink

    scalaz.Inject[F, G]

  5. type :≺:[F[_], G[_]] = Inject[F, G]

    Permalink

    scalaz.Inject[F, G]

  6. type <~[+F[_], -G[_]] = NaturalTransformation[G, F]

    Permalink

    A scalaz.NaturalTransformation[G, F].

  7. type ===[A, B] = Leibniz[, , A, B]

    Permalink

    (A === B) is a supertype of Leibniz[L,H,A,B]

  8. sealed abstract class ==>>[A, B] extends AnyRef

    Permalink

    An immutable map of key/value pairs implemented as a balanced binary tree

    An immutable map of key/value pairs implemented as a balanced binary tree

    Based on Haskell's Data.Map

    Since

    7.0.3

  9. type =?>[E, A] = Kleisli[Option, E, A]

    Permalink
  10. type @>[A, B] = LensFamily[A, A, B, B]

    Permalink

    See also

    scalaz.Lens

  11. type @?>[A, B] = PLensFamily[A, A, B, B]

    Permalink

    See also

    scalaz.PLens

  12. type @@[T, Tag] = scalaz.TagKind.@@[T, Tag]

    Permalink

    Tag a type T with Tag.

    Tag a type T with Tag.

    The resulting type is used to discriminate between type class instances.

    See also

    scalaz.Tag and scalaz.Tags Credit to Miles Sabin for the idea.

  13. abstract class Adjunction[F[_], G[_]] extends AnyRef

    Permalink

    An adjunction formed by two functors F and G such that F is left-adjoint to G.

    An adjunction formed by two functors F and G such that F is left-adjoint to G. The composite functor GF is a monad and the composite functor FG is a comonad.

    The minimal definition is either (unit, counit) or (leftAdjunct, rightAdjunct)

  14. sealed abstract class AdjunctionInstances extends AnyRef

    Permalink
  15. trait Align[F[_]] extends Functor[F]

    Permalink

  16. sealed abstract class Alpha extends Product with Serializable

    Permalink

    An algebraic data type representing the characters 'a' to 'z'

  17. sealed abstract class AlphaInstances extends AnyRef

    Permalink
  18. trait Alt[F[_]] extends Applicative[F] with InvariantAlt[F]

    Permalink

    https://hackage.haskell.org/package/semigroupoids-5.2.2/docs/Data-Functor-Alt.html

  19. final case class Alter[F[_], A](f: F[A]) extends Product with Serializable

    Permalink

    Derive a Semigroup or Monoid instance from a Plus or PlusEmpty.

    Derive a Semigroup or Monoid instance from a Plus or PlusEmpty.

    https://hackage.haskell.org/package/reducers-3.12.1/docs/Data-Semigroup-Alt.html#t:Alter

  20. sealed abstract class AlterInstances extends AlterInstances0

    Permalink
  21. sealed abstract class AlterInstances0 extends AnyRef

    Permalink
  22. final case class Ap[F[_], A](f: F[A]) extends Product with Serializable

    Permalink

    Derive a Semigroup or Monoid instance from an Apply or Applicative.

    Derive a Semigroup or Monoid instance from an Apply or Applicative.

    https://hackage.haskell.org/package/reducers-3.12.1/docs/Data-Semigroup-Applicative.html#t:Ap

  23. sealed abstract class ApInstances extends ApInstances0

    Permalink
  24. sealed abstract class ApInstances0 extends AnyRef

    Permalink
  25. trait Applicative[F[_]] extends Apply[F] with InvariantApplicative[F]

    Permalink

    Applicative Functor, described in Applicative Programming with Effects

    Applicative Functor, described in Applicative Programming with Effects

    Whereas a scalaz.Functor allows application of a pure function to a value in a context, an Applicative also allows application of a function in a context to a value in a context (ap).

    It follows that a pure function can be applied to arguments in a context. (See apply2, apply3, ... )

    Applicative instances come in a few flavours:

    • All scalaz.Monads are also Applicative
    • Any scalaz.Monoid can be treated as an Applicative (see scalaz.Monoid#applicative)
    • Zipping together corresponding elements of Naperian data structures (those of of a fixed, possibly infinite shape)
    See also

    scalaz.Applicative.ApplicativeLaw

  26. trait ApplicativeError[F[_], S] extends Applicative[F]

    Permalink
  27. trait ApplicativePlus[F[_]] extends Applicative[F] with PlusEmpty[F]

    Permalink

    scalaz.Applicative combined with scalaz.PlusEmpty.

  28. trait Apply[F[_]] extends Functor[F]

    Permalink

    scalaz.Applicative without point.

  29. trait Arrow[=>:[_, _]] extends Split[=>:] with Strong[=>:] with Category[=>:]

    Permalink

    A scalaz.Category supporting all ordinary functions, as well as combining arrows product-wise.

    A scalaz.Category supporting all ordinary functions, as well as combining arrows product-wise. Every Arrow forms a scalaz.Contravariant in one type parameter, and a scalaz.Applicative in the other, just as with ordinary functions.

  30. trait Associative[=>:[_, _]] extends AnyRef

    Permalink

  31. trait Band[F] extends Semigroup[F]

    Permalink

    scalaz.Semigroup which is also idempotent, i.e.

    scalaz.Semigroup which is also idempotent, i.e. appending a value with itself results in the same value.

    See also

    scalaz.Band.BandLaw

  32. trait BiConstrainedNaturalTransformation[F[_, _], G[_, _], C[_], E[_]] extends AnyRef

    Permalink

    A constrained transformation natural in both sides of a bifunctor

  33. trait BiNaturalTransformation[-F[_, _], +G[_, _]] extends AnyRef

    Permalink

    A function universally quantified over two parameters.

  34. trait Bifoldable[F[_, _]] extends AnyRef

    Permalink

    A type giving rise to two unrelated scalaz.Foldables.

  35. trait Bifunctor[F[_, _]] extends AnyRef

    Permalink

    A type giving rise to two unrelated scalaz.Functors.

  36. final class BijectionT[F[_], G[_], A, B] extends AnyRef

    Permalink
  37. sealed abstract class BijectionTInstances extends BijectionTInstances0

    Permalink
  38. sealed abstract class BijectionTInstances0 extends AnyRef

    Permalink
  39. trait Bind[F[_]] extends Apply[F]

    Permalink

    An scalaz.Apply functor, where a lifted function can introduce new values _and_ new functor context to be incorporated into the lift context.

    An scalaz.Apply functor, where a lifted function can introduce new values _and_ new functor context to be incorporated into the lift context. The essential new operation of scalaz.Monads.

    See also

    scalaz.Bind.BindLaw

  40. trait BindRec[F[_]] extends Bind[F]

    Permalink

    scalaz.Bind capable of using constant stack space when doing recursive binds.

    scalaz.Bind capable of using constant stack space when doing recursive binds.

    Implementations of tailrecM should not make recursive calls without the @tailrec annotation.

    Based on Phil Freeman's work on stack safety in PureScript, described in Stack Safety for Free.

  41. trait Bitraverse[F[_, _]] extends Bifunctor[F] with Bifoldable[F]

    Permalink

    A type giving rise to two unrelated scalaz.Traverses.

  42. sealed abstract class CaseInsensitive[A] extends AnyRef

    Permalink
  43. sealed abstract class CaseInsensitiveInstances extends AnyRef

    Permalink
  44. trait Category[=>:[_, _]] extends Compose[=>:]

    Permalink

    scalaz.Compose with identity.

  45. trait Choice[=>:[_, _]] extends Category[=>:]

    Permalink

  46. trait Cobind[F[_]] extends Functor[F]

    Permalink

  47. abstract class Codensity[F[_], A] extends AnyRef

    Permalink
  48. sealed abstract class CodensityInstances extends AnyRef

    Permalink
  49. sealed abstract class Cofree[S[_], A] extends AnyRef

    Permalink

    A cofree comonad for some functor S, i.e.

    A cofree comonad for some functor S, i.e. an S-branching stream.

  50. sealed abstract class CofreeInstances extends CofreeInstances0

    Permalink
  51. sealed abstract class CofreeInstances0 extends CofreeInstances1

    Permalink
  52. sealed abstract class CofreeInstances1 extends CofreeInstances2

    Permalink
  53. sealed abstract class CofreeInstances2 extends CofreeInstances3

    Permalink
  54. sealed abstract class CofreeInstances3 extends CofreeInstances4

    Permalink
  55. sealed abstract class CofreeInstances4 extends AnyRef

    Permalink
  56. trait Cohoist[F[_[_], _]] extends ComonadTrans[F]

    Permalink
  57. final case class Cokleisli[F[_], A, B](run: (F[A]) ⇒ B) extends Product with Serializable

    Permalink
  58. sealed abstract class CokleisliInstances extends CokleisliInstances0

    Permalink
  59. sealed abstract class CokleisliInstances0 extends AnyRef

    Permalink
  60. trait Comonad[F[_]] extends Cobind[F]

    Permalink

  61. trait ComonadStore[F[_], S] extends Comonad[F]

    Permalink

  62. trait ComonadTrans[F[_[_], _]] extends AnyRef

    Permalink
  63. trait Compose[=>:[_, _]] extends AnyRef

    Permalink

  64. final case class Const[A, B](getConst: A) extends Product with Serializable

    Permalink
  65. sealed abstract class ConstInstances extends ConstInstances0

    Permalink
  66. sealed abstract class ConstInstances0 extends ConstInstances1

    Permalink
  67. sealed abstract class ConstInstances1 extends AnyRef

    Permalink
  68. trait ConstrainedNaturalTransformation[F[_], G[_], E[_]] extends AnyRef

    Permalink

    A constrained natural transformation

  69. type Cont[R, A] = IndexedContsT[scalaz.Id.Id, R, R, scalaz.Id.Id, A]

    Permalink

  70. type ContT[R, M[_], A] = IndexedContsT[scalaz.Id.Id, R, R, M, A]

    Permalink

  71. trait Contravariant[F[_]] extends InvariantFunctor[F]

    Permalink

    Contravariant functors.

    Contravariant functors. For example, functions provide a scalaz.Functor in their result type, but a scalaz.Contravariant for each argument type.

    Note that the dual of a scalaz.Functor is just a scalaz.Functor itself.

    Providing an instance of this is a useful alternative to marking a type parameter with - in Scala.

    See also

    scalaz.Contravariant.ContravariantLaw

  72. sealed abstract class ContravariantCoyoneda[F[_], A] extends AnyRef

    Permalink

    Decomposition of fi.contramap(k) into its components, as it is frequently convenient to apply k separately from sorting or whatever process with fi, even when B is unknown, which is very common.

    Decomposition of fi.contramap(k) into its components, as it is frequently convenient to apply k separately from sorting or whatever process with fi, even when B is unknown, which is very common.

    This is isomorphic to F as long as F itself is a contravariant functor. The homomorphism from F[A] to ContravariantCoyoneda[F,A] exists even when F is not a contravariant functor.

    See ContravariantCoyonedaUsage.scala in the scalaz source tree for an interesting usage demonstration.

    As ContravariantCoyoneda(o)(identity).unlift = o, further factoring can occur as follows, for free:

    ContravariantCoyoneda(o contramap g)(f).unlift =
      ContravariantCoyoneda(o)(g compose f).unlift
    See also

    https://hackage.haskell.org/package/kan-extensions-4.0.1/docs/Data-Functor-Contravariant-Coyoneda.html

  73. sealed abstract class ContravariantCoyonedaInstances extends AnyRef

    Permalink
  74. type Conts[W[_], R, A] = IndexedContsT[W, R, R, scalaz.Id.Id, A]

    Permalink

  75. type ContsT[W[_], R, M[_], A] = IndexedContsT[W, R, R, M, A]

    Permalink

  76. final case class Coproduct[F[_], G[_], A](run: \/[F[A], G[A]]) extends Product with Serializable

    Permalink

    F on the left, and G on the right, of scalaz.\/.

    F on the left, and G on the right, of scalaz.\/.

    run

    The underlying scalaz.\/.

  77. sealed abstract class CoproductInstances extends CoproductInstances0

    Permalink
  78. sealed abstract class CoproductInstances0 extends CoproductInstances1

    Permalink
  79. sealed abstract class CoproductInstances1 extends CoproductInstances2

    Permalink
  80. sealed abstract class CoproductInstances2 extends CoproductInstances3

    Permalink
  81. sealed abstract class CoproductInstances3 extends AnyRef

    Permalink
  82. sealed abstract class Cord extends AnyRef

    Permalink

    A Cord is a purely functional data structure for efficiently creating a String from smaller parts, useful for printing ADTs that must write out their contents into a text format.

    A Cord is a purely functional data structure for efficiently creating a String from smaller parts, useful for printing ADTs that must write out their contents into a text format.

    A z interpolator is available for building String from literals, using the Show typeclass to populate each "hole", and a cord interpolator for building Cord instances.

    If a more efficient solution is required to write a large String to a network socket or file, consider https://github.com/scalaz/scalaz/issues/1797

    If you require a general text manipulation data structure, consider using FingerTree or creating a custom structure to resemble that used by the popular text editors:

    - https://ecc-comp.blogspot.co.uk/2015/05/a-brief-glance-at-how-5-text-editors.html - https://pavelfatin.com/typing-with-pleasure/

  83. sealed abstract class CorecursiveList[A] extends AnyRef

    Permalink

    The corecursive list; i.e.

    The corecursive list; i.e. the arguments to unfold saved off to a data structure. Generally does not have methods itself; as with scalaz.NonEmptyList, it provides typeclass instances instead, and you typically import typeclass syntax to get methods.

    The corecursive list can be a very efficient way to represent "listlike" things in some cases; because it is so unlike "normal" collections, though, it's important to understand how its operations are implemented and what their performance characteristics are going to be. For example, using cons iteratively to add a bunch of elements to the beginning of a scala.collection.immutable.List is very efficient; it's very inefficient for corecursive list.

    Operations are generally designed to preserve the isomorphism with scalaz.EphemeralStream; for example, ap could be a "zipping" ap, but instead is a less efficient "combination" style. This means that the scalaz.Monad has the same behavior as that of scalaz.EphemeralStream and more traditional strict list structures.

  84. sealed abstract class CorecursiveListInstances extends AnyRef

    Permalink
  85. abstract class Corepresentable[F[_], X] extends AnyRef

    Permalink

    Corepresentable functors

  86. sealed abstract class Coyoneda[F[_], A] extends AnyRef

    Permalink

    The dual view of the Yoneda lemma.

    The dual view of the Yoneda lemma. Also a free functor on F. This is isomorphic to F as long as F itself is a functor. The homomorphism from F[A] to Coyoneda[F,A] exists even when F is not a functor.

  87. sealed abstract class CoyonedaInstances extends CoyonedaInstances0

    Permalink
  88. sealed abstract class CoyonedaInstances0 extends CoyonedaInstances1

    Permalink
  89. sealed abstract class CoyonedaInstances1 extends CoyonedaInstances2

    Permalink
  90. sealed abstract class CoyonedaInstances10 extends AnyRef

    Permalink
  91. sealed abstract class CoyonedaInstances2 extends CoyonedaInstances3

    Permalink
  92. sealed abstract class CoyonedaInstances3 extends CoyonedaInstances4

    Permalink
  93. sealed abstract class CoyonedaInstances4 extends CoyonedaInstances5

    Permalink
  94. sealed abstract class CoyonedaInstances5 extends CoyonedaInstances6

    Permalink
  95. sealed abstract class CoyonedaInstances6 extends CoyonedaInstances7

    Permalink
  96. sealed abstract class CoyonedaInstances7 extends CoyonedaInstances8

    Permalink
  97. sealed abstract class CoyonedaInstances8 extends CoyonedaInstances9

    Permalink
  98. sealed abstract class CoyonedaInstances9 extends CoyonedaInstances10

    Permalink
  99. trait Cozip[F[_]] extends AnyRef

    Permalink

  100. type DLeft[A, B] = -\/[A, B]

    Permalink
  101. final class DList[A] extends AnyRef

    Permalink

    Difference lists: a data structure for O(1) append on lists.

    Difference lists: a data structure for O(1) append on lists. Based on Data.DList, a Haskell library by Don Stewart.

    A difference list is a function that given a list, returns the original contents of the difference list prepended at the given list.

    This structure supports O(1) append and snoc operations on lists, making it very useful for append-heavy uses, such as logging and pretty printing.

  102. sealed abstract class DListInstances extends AnyRef

    Permalink
  103. type DRight[A, B] = \/-[A, B]

    Permalink
  104. trait Day[F[_], G[_], A] extends AnyRef

    Permalink

    Covariant Day Convolution

    Covariant Day Convolution

    Based on Edward Kmett implementation in Haskell: https://hackage.haskell.org/package/kan-extensions/docs/Data-Functor-Day.html

    Day convolution is a special form of Functor multiplication. In monoidal category of endofunctors Applicative is a monoid object when Day covolution is used as tensor. If we use Functor composition as tensor then then monoid form a Monad instead of Applicative.

    Can be seen as generalization of method apply2 from Apply:

    def apply2(fa => F[A], fb => F[B])(f: (A, B) => C): F[C]
    
    trait Day[F[_], G[_], A] { self =>
      // ...
      val fx: F[X]
      val gy: G[Y]
      def xya: (X, Y) => A
    }
    See also

    Discussion on Reddit with mention about usage for stream processing and intuition based on liftA2 from Applicative and Day

    Phil Freeman blog, connections between Day and Comonads, Comonads transformers, optics

    Edward Kmett talk, explains Divisible and Decidable in context of contravariant Day

    Bartosz Milewski talk, derive Day from multiplying Functors and using Coyoneda

  105. sealed abstract class DayInstances extends DayInstances1

    Permalink
  106. sealed abstract class DayInstances1 extends DayInstances2

    Permalink
  107. sealed abstract class DayInstances2 extends DayInstances3

    Permalink
  108. sealed abstract class DayInstances3 extends DayInstances4

    Permalink
  109. sealed abstract class DayInstances4 extends AnyRef

    Permalink
  110. trait Decidable[F[_]] extends Divisible[F] with InvariantAlt[F]

    Permalink

    Coproduct analogue of Divide

    Coproduct analogue of Divide

    https://hackage.haskell.org/package/contravariant-1.4.1/docs/Data-Functor-Contravariant-Divisible.html#t:Decidable

  111. sealed abstract class Dequeue[A] extends AnyRef

    Permalink

    A Double-ended queue, based on the Bankers Double Ended Queue as described by C.

    A Double-ended queue, based on the Bankers Double Ended Queue as described by C. Okasaki in "Purely Functional Data Structures"

    A queue that allows items to be put onto either the front (cons) or the back (snoc) of the queue in constant time, and constant time access to the element at the very front or the very back of the queue. Dequeueing an element from either end is constant time when amortized over a number of dequeues.

    This queue maintains an invariant that whenever there are at least two elements in the queue, neither the front list nor back list are empty. In order to maintain this invariant, a dequeue from either side which would leave that side empty constructs the resulting queue by taking elements from the opposite side

  112. sealed abstract class DequeueInstances extends AnyRef

    Permalink
  113. trait DiNaturalTransformation[F[_, _], G[_, _]] extends AnyRef

    Permalink
  114. sealed abstract class Diev[A] extends AnyRef

    Permalink

    Implementation of a Discrete Interval Encoding Tree http://web.engr.oregonstate.edu/~erwig/diet/ that is actually implemented using a Vector and is balanced at all times as a result.

  115. trait DievImplementation extends AnyRef

    Permalink
  116. sealed abstract class DievInstances extends DievImplementation

    Permalink
  117. sealed abstract class Digit extends Product with Serializable

    Permalink

    An algebraic data type representing the digits 0 - 9

  118. sealed abstract class DigitInstances extends AnyRef

    Permalink
  119. type Disjunction[A, B] = \/[A, B]

    Permalink
  120. sealed abstract class DisjunctionInstances extends DisjunctionInstances0

    Permalink
  121. sealed abstract class DisjunctionInstances0 extends DisjunctionInstances1

    Permalink
  122. sealed abstract class DisjunctionInstances1 extends DisjunctionInstances2

    Permalink
  123. sealed abstract class DisjunctionInstances2 extends AnyRef

    Permalink
  124. type DisjunctionT[A, F[_], B] = EitherT[A, F, B]

    Permalink
  125. trait Distributive[F[_]] extends Functor[F]

    Permalink

    Dual of scalaz.Traverse.

    Dual of scalaz.Traverse. To transform F[G[B]] to G[F[B]], you may use Traverse[F] and Applicative[G], but alternatively Functor[F] and Distributive[G], which permits greater sharing and nonstrictness.

  126. trait Divide[F[_]] extends Contravariant[F]

    Permalink

    Divide is the contravariant analogue of scalaz.Apply

    Divide is the contravariant analogue of scalaz.Apply

    See also

    https://github.com/ekmett/contravariant/issues/18

  127. trait Divisible[F[_]] extends Divide[F] with InvariantApplicative[F]

    Permalink

    Divisible is the contravariant analogue of scalaz.Applicative

  128. sealed abstract class DualInstances extends DualInstances0

    Permalink
  129. sealed abstract class DualInstances0 extends AnyRef

    Permalink
  130. sealed abstract class Either3[A, B, C] extends Product with Serializable

    Permalink
  131. final case class EitherT[A, F[_], B](run: F[\/[A, B]]) extends Product with Serializable

    Permalink

    Represents a computation of type F[A \/ B].

    Represents a computation of type F[A \/ B].

    Example:

    val x: Option[String \/ Int] = Some(\/-(1))
    EitherT(x).map(1+).run // Some(\/-(2))
  132. sealed abstract class EitherTInstances extends EitherTInstances0

    Permalink
  133. sealed abstract class EitherTInstances0 extends EitherTInstances1

    Permalink
  134. sealed abstract class EitherTInstances1 extends EitherTInstances2

    Permalink
  135. sealed abstract class EitherTInstances2 extends EitherTInstances3

    Permalink
  136. sealed abstract class EitherTInstances3 extends EitherTInstances4

    Permalink
  137. sealed abstract class EitherTInstances4 extends EitherTInstances5

    Permalink
  138. sealed abstract class EitherTInstances5 extends AnyRef

    Permalink
  139. final case class Endo[A](run: (A) ⇒ A) extends Product with Serializable

    Permalink

    Endomorphisms.

    Endomorphisms. They have special properties among functions, so are captured in this newtype.

    run

    The captured function.

  140. final case class EndoByName[A](run: (⇒ A) ⇒ A) extends Product with Serializable

    Permalink

    Endomorphisms using by-name evaluation.

    Endomorphisms using by-name evaluation. They have special properties among functions, so are captured in this newtype.

    run

    The captured function.

  141. sealed abstract class EndoByNameInstances extends AnyRef

    Permalink
  142. sealed abstract class EndoInstances extends AnyRef

    Permalink
  143. final case class Endomorphic[=>:[_, _], A](run: =>:[A, A]) extends Product with Serializable

    Permalink

    Endomorphisms have special properties among arrows, so are captured in this newtype.

    Endomorphisms have special properties among arrows, so are captured in this newtype.

    Endomorphic[Function1, A] is equivalent to Endo[A]

  144. sealed abstract class EndomorphicInstances extends EndomorphicInstances0

    Permalink
  145. sealed abstract class EndomorphicInstances0 extends EndomorphicInstances1

    Permalink
  146. sealed abstract class EndomorphicInstances1 extends EndomorphicInstances2

    Permalink
  147. sealed abstract class EndomorphicInstances2 extends AnyRef

    Permalink
  148. trait Enum[F] extends Order[F]

    Permalink

    An scalaz.Orderable with discrete values.

  149. sealed abstract class EphemeralStream[A] extends AnyRef

    Permalink

    Like scala.collection.immutable.Stream, but doesn't save computed values.

    Like scala.collection.immutable.Stream, but doesn't save computed values. As such, it can be used to represent similar things, but without the space leak problem frequently encountered using that type.

  150. sealed abstract class EphemeralStreamInstances extends AnyRef

    Permalink
  151. trait Equal[F] extends AnyRef

    Permalink

    A type safe alternative to universal equality (scala.Any#==).

    A type safe alternative to universal equality (scala.Any#==).

    See also

    scalaz.Equal.EqualLaw

  152. final case class Failure[E, A](e: E) extends Validation[E, A] with Product with Serializable

    Permalink
  153. sealed abstract class FingerTree[V, A] extends AnyRef

    Permalink

    Finger trees with leaves of type A and Nodes that are annotated with type V.

    Finger trees with leaves of type A and Nodes that are annotated with type V.

    Finger Trees provide a base for implementations of various collection types, as described in "Finger trees: a simple general-purpose data structure", by Ralf Hinze and Ross Paterson. A gentle introduction is presented in the blog post "Monoids and Finger Trees" by Heinrich Apfelmus.

    This is done by choosing a suitable type to annotate the nodes. For example, a binary tree can be implemented by annotating each node with the size of its subtree, while a priority queue can be implemented by labelling the nodes by the minimum priority of its children.

    The operations on FingerTree enforce the constraint measured (in the form of a Reducer instance).

    Finger Trees have excellent (amortized) asymptotic performance:

    • Access to the first and last elements is O(1)
    • Appending/prepending a single value is O(1)
    • Concatenating two trees is (O lg min(l1, l2)) where l1 and l2 are their sizes
    • Random access to an element at n is O(lg min(n, l - n)), where l is the size of the tree.
    • Constructing a tree with n copies of a value is O(lg n).
    V

    The type of the annotations of the nodes (the measure)

    A

    The type of the elements stored at the leaves

    See also

    http://apfelmus.nfshost.com/articles/monoid-fingertree.html

    Finger trees: a simple general-purpose data structure

  154. sealed abstract class FingerTreeInstances extends AnyRef

    Permalink
  155. type FirstMaybe[A] = scalaz.TagKind.@@[Maybe[A], First]

    Permalink
  156. type FirstOf[A] = scalaz.TagKind.@@[A, FirstVal]

    Permalink
  157. type FirstOption[A] = scalaz.TagKind.@@[Option[A], First]

    Permalink
  158. trait FoldCase[A] extends AnyRef

    Permalink
  159. sealed abstract class FoldCaseInstances extends AnyRef

    Permalink
  160. trait Foldable[F[_]] extends AnyRef

    Permalink

    A type parameter implying the ability to extract zero or more values of that type.

  161. trait Foldable1[F[_]] extends Foldable[F]

    Permalink

    A scalaz.Foldable where foldMap is total over semigroups.

    A scalaz.Foldable where foldMap is total over semigroups. That is, toList cannot return an empty list.

  162. trait Forall[P[_]] extends AnyRef

    Permalink

    A universally quantified value

  163. trait Foralls extends AnyRef

    Permalink
  164. sealed abstract class Free[S[_], A] extends AnyRef

    Permalink

    A free monad for a type constructor S.

    A free monad for a type constructor S. Binding is done using the heap instead of the stack, allowing tail-call elimination.

  165. sealed abstract class FreeAp[F[_], A] extends AnyRef

    Permalink

    Free applicative functors.

    Free applicative functors. Less expressive than free monads, but more flexible to inspect and interpret.

  166. sealed abstract class FreeInstances extends FreeInstances0

    Permalink
  167. sealed abstract class FreeInstances0 extends FreeInstances1

    Permalink
  168. sealed abstract class FreeInstances1 extends FreeInstances2

    Permalink
  169. sealed abstract class FreeInstances2 extends FreeInstances3

    Permalink
  170. sealed abstract class FreeInstances3 extends FreeInstances4

    Permalink
  171. sealed abstract class FreeInstances4 extends AnyRef

    Permalink
  172. sealed abstract class FreeT[S[_], M[_], A] extends AnyRef

    Permalink
  173. sealed abstract class FreeTInstances extends FreeTInstances0

    Permalink
  174. sealed abstract class FreeTInstances0 extends FreeTInstances1

    Permalink
  175. sealed abstract class FreeTInstances1 extends FreeTInstances2

    Permalink
  176. sealed abstract class FreeTInstances2 extends FreeTInstances3

    Permalink
  177. sealed abstract class FreeTInstances3 extends FreeTInstances4

    Permalink
  178. sealed abstract class FreeTInstances4 extends FreeTInstances5

    Permalink
  179. sealed abstract class FreeTInstances5 extends FreeTInstances6

    Permalink
  180. sealed abstract class FreeTInstances6 extends AnyRef

    Permalink
  181. trait Functor[F[_]] extends InvariantFunctor[F]

    Permalink

    Functors, covariant by nature if not by Scala type.

    Functors, covariant by nature if not by Scala type. Their key operation is map, whose behavior is constrained only by type and the functor laws.

    Many useful functors also have natural scalaz.Apply or scalaz.Bind operations. Many also support scalaz.Traverse.

    See also

    scalaz.Functor.FunctorLaw

  182. trait Generator[C, Elem] extends AnyRef

    Permalink

    Generator a class of container of elements that knows how to efficiently apply a scalaz.Reducer to extract an answer by combining elements.

    Generator a class of container of elements that knows how to efficiently apply a scalaz.Reducer to extract an answer by combining elements. A Reducer may supply efficient left-to-right and right-to-left reduction strategies that a Generator may avail itself of.

  183. trait Generators extends AnyRef

    Permalink
  184. sealed abstract class Heap[A] extends AnyRef

    Permalink

    An efficient, asymptotically optimal, implementation of priority queues extended with support for efficient size.

    An efficient, asymptotically optimal, implementation of priority queues extended with support for efficient size.

    The implementation of 'Heap' is based on bootstrapped skew binomial heaps as described by: G. Brodal and C. Okasaki , "Optimal Purely Functional Priority Queues", Journal of Functional Programming 6:839-857 (1996),

    Based on the heaps Haskell library by Edward Kmett

  185. sealed abstract class HeapInstances extends AnyRef

    Permalink
  186. trait Hoist[F[_[_], _]] extends MonadTrans[F]

    Permalink
  187. final case class ICons[A](head: A, tail: IList[A]) extends IList[A] with Product with Serializable

    Permalink
  188. sealed abstract class IList[A] extends Product with Serializable

    Permalink

    Safe, invariant alternative to stdlib List.

    Safe, invariant alternative to stdlib List. Most methods on List have a sensible equivalent here, either on the IList interface itself or via typeclass instances (which are the same as those defined for stdlib List). All methods are total and stack-safe.

  189. sealed abstract class IListInstance0 extends AnyRef

    Permalink
  190. sealed abstract class IListInstances extends IListInstance0

    Permalink
  191. type IMap[A, B] = ==>>[A, B]

    Permalink
  192. sealed abstract case class INil[A] extends IList[A] with Product with Serializable

    Permalink
  193. type IRWS[-R, W, -S1, S2, A] = IndexedReaderWriterStateT[R, W, S1, S2, scalaz.Id.Id, A]

    Permalink
  194. type IRWST[-R, W, -S1, S2, F[_], A] = IndexedReaderWriterStateT[R, W, S1, S2, F, A]

    Permalink
  195. sealed abstract class ISet[A] extends AnyRef

    Permalink

  196. sealed abstract class ISetInstances extends AnyRef

    Permalink
  197. sealed abstract class IStream[A] extends AnyRef

    Permalink

    A linked list with by-name head and tail, allowing some control over memory usage and evaluation of contents.

    A linked list with by-name head and tail, allowing some control over memory usage and evaluation of contents.

    This structure is a good choice when the contents are expensive to calculate and may not all need to be evaluated, at the cost of an overhead when the contents are calculated. Typeclass instances try to defer evaluation of contents, unless it would require a full traversal of the spine, preferring lazy semantics when an evaluation choice is to be made.

  198. trait IdInstances extends AnyRef

    Permalink

    Mixed into object Id in the package object scalaz.

  199. final case class IdT[F[_], A](run: F[A]) extends Product with Serializable

    Permalink
  200. sealed abstract class IdTInstances extends IdTInstances0

    Permalink
  201. sealed abstract class IdTInstances0 extends IdTInstances1

    Permalink
  202. sealed abstract class IdTInstances1 extends IdTInstances2

    Permalink
  203. sealed abstract class IdTInstances2 extends IdTInstances3

    Permalink
  204. sealed abstract class IdTInstances3 extends IdTInstances4

    Permalink
  205. sealed abstract class IdTInstances4 extends IdTInstances5

    Permalink
  206. sealed abstract class IdTInstances5 extends IdTInstances6

    Permalink
  207. sealed abstract class IdTInstances6 extends AnyRef

    Permalink
  208. sealed abstract class ImmutableArray[+A] extends AnyRef

    Permalink

    An immutable wrapper for arrays

    An immutable wrapper for arrays

    A

    type of the elements of the array

  209. sealed abstract class ImmutableArrayInstances extends AnyRef

    Permalink
  210. final class IndSeq[A] extends AnyRef

    Permalink

    Indexed sequences, based on scalaz.FingerTree

    Indexed sequences, based on scalaz.FingerTree

    The measure is the count of the preceding elements, provided by UnitReducer((e: Int) => 1).

  211. sealed abstract class IndSeqInstances extends AnyRef

    Permalink
  212. type IndexedCont[R, O, A] = IndexedContsT[scalaz.Id.Id, R, O, scalaz.Id.Id, A]

    Permalink

  213. type IndexedContT[R, O, M[_], A] = IndexedContsT[scalaz.Id.Id, R, O, M, A]

    Permalink

  214. type IndexedConts[W[_], R, O, A] = IndexedContsT[W, R, O, scalaz.Id.Id, A]

    Permalink

  215. final case class IndexedContsT[W[_], R, O, M[_], A](_run: (W[(A) ⇒ M[O]]) ⇒ M[R]) extends Product with Serializable

    Permalink
  216. trait IndexedContsTFunctions extends AnyRef

    Permalink
  217. abstract class IndexedContsTInstances extends IndexedContsTInstances0

    Permalink
  218. sealed abstract class IndexedContsTInstances0 extends IndexedContsTInstances1

    Permalink
  219. sealed abstract class IndexedContsTInstances1 extends IndexedContsTInstances2

    Permalink
  220. sealed abstract class IndexedContsTInstances2 extends AnyRef

    Permalink
  221. type IndexedReaderWriterState[-R, W, -S1, S2, A] = IndexedReaderWriterStateT[R, W, S1, S2, scalaz.Id.Id, A]

    Permalink

  222. sealed abstract class IndexedReaderWriterStateT[-R, W, -S1, S2, F[_], A] extends AnyRef

    Permalink

    A monad transformer stack yielding (R, S1) => F[(W, A, S2)].

  223. sealed abstract class IndexedReaderWriterStateTInstances extends IndexedReaderWriterStateTInstances0

    Permalink
  224. sealed abstract class IndexedReaderWriterStateTInstances0 extends IndexedReaderWriterStateTInstances1

    Permalink
  225. sealed abstract class IndexedReaderWriterStateTInstances1 extends AnyRef

    Permalink
  226. type IndexedState[-S1, S2, A] = IndexedStateT[S1, S2, scalaz.Id.Id, A]

    Permalink

  227. trait IndexedStateFunctions extends AnyRef

    Permalink
  228. sealed abstract class IndexedStateT[-S1, S2, F[_], A] extends AnyRef

    Permalink
  229. trait IndexedStateTFunctions extends AnyRef

    Permalink
  230. sealed abstract class IndexedStateTInstances extends IndexedStateTInstances0

    Permalink
  231. sealed abstract class IndexedStateTInstances0 extends IndexedStateTInstances1

    Permalink
  232. sealed abstract class IndexedStateTInstances1 extends IndexedStateTInstances2

    Permalink
  233. sealed abstract class IndexedStateTInstances2 extends IndexedStateTInstances3

    Permalink
  234. sealed abstract class IndexedStateTInstances3 extends AnyRef

    Permalink
  235. type IndexedStore[I, A, B] = IndexedStoreT[scalaz.Id.Id, I, A, B]

    Permalink

  236. final case class IndexedStoreT[F[_], +I, A, B](run: (F[(A) ⇒ B], I)) extends Product with Serializable

    Permalink

    See also

    scalaz.Lens

  237. trait IndexedStoreTFunctions extends AnyRef

    Permalink
  238. sealed abstract class IndexedStoreTInstances extends IndexedStoreTInstances0

    Permalink
  239. sealed abstract class IndexedStoreTInstances0 extends IndexedStoreTInstances1

    Permalink
  240. sealed abstract class IndexedStoreTInstances1 extends IndexedStoreTInstances2

    Permalink
  241. sealed abstract class IndexedStoreTInstances2 extends AnyRef

    Permalink
  242. sealed abstract class Inject[F[_], G[_]] extends ~>[F, G]

    Permalink

    Inject type class as described in "Data types a la carte" (Swierstra 2008).

    Inject type class as described in "Data types a la carte" (Swierstra 2008).

    See also

    http://www.staff.science.uu.nl/~swier004/Publications/DataTypesALaCarte.pdf

  243. sealed abstract class InjectInstances extends AnyRef

    Permalink
  244. case class Injective[T[_]]() extends Product with Serializable

    Permalink

    Given Injective[Foo]: If type Foo[A] = Foo[B] then A ~ B

    Given Injective[Foo]: If type Foo[A] = Foo[B] then A ~ B

    This represents an assertion that is used by other code that requires this condition.

  245. case class Injective2[T[_, _]]() extends Product with Serializable

    Permalink
  246. case class Injective3[T[_, _, _]]() extends Product with Serializable

    Permalink
  247. case class Injective4[T[_, _, _, _]]() extends Product with Serializable

    Permalink
  248. case class Injective5[T[_, _, _, _, _]]() extends Product with Serializable

    Permalink
  249. trait InvariantAlt[F[_]] extends InvariantApplicative[F]

    Permalink

    Invariant parent of Decidable and Alternative.

    Invariant parent of Decidable and Alternative.

    Used for typeclass derivation of products, coproducts and value types.

  250. trait InvariantApplicative[F[_]] extends InvariantFunctor[F]

    Permalink

    Invariant parent of Divisible and Applicative.

    Invariant parent of Divisible and Applicative.

    Used for typeclass derivation of products and value types.

  251. trait InvariantFunctor[F[_]] extends AnyRef

    Permalink

    Unary type constructor that supports an xmap operation that converts an F[A] to an F[B] given two functions, A => B and B => A.

    Unary type constructor that supports an xmap operation that converts an F[A] to an F[B] given two functions, A => B and B => A.

    An invariant functor must satisfy two laws:

    • identity - xmap(ma)(identity, identity) == ma
    • composite - xmap(xmap(ma, f1, g1), f2, g2) == xmap(ma, f2 compose f1, g1, compose g2)

    Also known as an exponential functor.

    See also

    scalaz.InvariantFunctor.InvariantFunctorLaw

    http://comonad.com/reader/2008/rotten-bananas/

    https://hackage.haskell.org/packages/archive/invariant/latest/doc/html/Data-Functor-Invariant.html

  252. trait IsEmpty[F[_]] extends PlusEmpty[F]

    Permalink

    Typeclass that permits testing whether some type with an empty representation is in fact empty.

  253. trait IsomorphismAlign[F[_], G[_]] extends Align[F] with IsomorphismFunctor[F, G]

    Permalink
  254. trait IsomorphismAlt[F[_], G[_]] extends Alt[F] with IsomorphismApplicative[F, G] with IsomorphismInvariantAlt[F, G]

    Permalink
  255. trait IsomorphismApplicative[F[_], G[_]] extends Applicative[F] with IsomorphismApply[F, G] with IsomorphismInvariantApplicative[F, G]

    Permalink
  256. trait IsomorphismApplicativeError[F[_], G[_], S] extends ApplicativeError[F, S] with IsomorphismApplicative[F, G]

    Permalink
  257. trait IsomorphismApplicativePlus[F[_], G[_]] extends ApplicativePlus[F] with IsomorphismApplicative[F, G] with IsomorphismPlusEmpty[F, G]

    Permalink
  258. trait IsomorphismApply[F[_], G[_]] extends Apply[F] with IsomorphismFunctor[F, G]

    Permalink
  259. trait IsomorphismArrow[F[_, _], G[_, _]] extends Arrow[F] with IsomorphismSplit[F, G] with IsomorphismStrong[F, G] with IsomorphismCategory[F, G]

    Permalink
  260. trait IsomorphismAssociative[F[_, _], G[_, _]] extends Associative[F]

    Permalink
  261. trait IsomorphismBand[F, G] extends Band[F] with IsomorphismSemigroup[F, G]

    Permalink
  262. trait IsomorphismBifoldable[F[_, _], G[_, _]] extends Bifoldable[F]

    Permalink
  263. trait IsomorphismBifunctor[F[_, _], G[_, _]] extends Bifunctor[F]

    Permalink
  264. trait IsomorphismBind[F[_], G[_]] extends Bind[F] with IsomorphismApply[F, G]

    Permalink
  265. trait IsomorphismBindRec[F[_], G[_]] extends BindRec[F] with IsomorphismBind[F, G]

    Permalink
  266. trait IsomorphismBitraverse[F[_, _], G[_, _]] extends Bitraverse[F] with IsomorphismBifunctor[F, G] with IsomorphismBifoldable[F, G]

    Permalink
  267. trait IsomorphismCatchable[F[_], G[_]] extends Catchable[F]

    Permalink
  268. trait IsomorphismCategory[F[_, _], G[_, _]] extends Category[F] with IsomorphismCompose[F, G]

    Permalink
  269. trait IsomorphismChoice[F[_, _], G[_, _]] extends Choice[F] with IsomorphismCategory[F, G]

    Permalink
  270. trait IsomorphismCobind[F[_], G[_]] extends Cobind[F] with IsomorphismFunctor[F, G]

    Permalink
  271. trait IsomorphismComonad[F[_], G[_]] extends Comonad[F] with IsomorphismCobind[F, G]

    Permalink
  272. trait IsomorphismComonadStore[F[_], G[_], S] extends ComonadStore[F, S] with IsomorphismComonad[F, G]

    Permalink
  273. trait IsomorphismCompose[F[_, _], G[_, _]] extends Compose[F]

    Permalink
  274. trait IsomorphismContravariant[F[_], G[_]] extends Contravariant[F] with IsomorphismInvariantFunctor[F, G]

    Permalink
  275. trait IsomorphismCozip[F[_], G[_]] extends Cozip[F]

    Permalink
  276. trait IsomorphismDecidable[F[_], G[_]] extends Decidable[F] with IsomorphismDivisible[F, G] with IsomorphismInvariantAlt[F, G]

    Permalink
  277. trait IsomorphismDistributive[F[_], G[_]] extends Distributive[F] with IsomorphismFunctor[F, G]

    Permalink
  278. trait IsomorphismDivide[F[_], G[_]] extends Divide[F] with IsomorphismContravariant[F, G]

    Permalink
  279. trait IsomorphismDivisible[F[_], G[_]] extends Divisible[F] with IsomorphismDivide[F, G] with IsomorphismInvariantApplicative[F, G]

    Permalink
  280. trait IsomorphismEnum[F, G] extends Enum[F] with IsomorphismOrder[F, G]

    Permalink
  281. trait IsomorphismEqual[F, G] extends Equal[F]

    Permalink
  282. trait IsomorphismFoldable[F[_], G[_]] extends Foldable[F]

    Permalink
  283. trait IsomorphismFoldable1[F[_], G[_]] extends Foldable1[F] with IsomorphismFoldable[F, G]

    Permalink
  284. trait IsomorphismFunctor[F[_], G[_]] extends Functor[F] with IsomorphismInvariantFunctor[F, G]

    Permalink
  285. trait IsomorphismInvariantAlt[F[_], G[_]] extends InvariantAlt[F] with IsomorphismInvariantApplicative[F, G]

    Permalink
  286. trait IsomorphismInvariantApplicative[F[_], G[_]] extends InvariantApplicative[F] with IsomorphismInvariantFunctor[F, G]

    Permalink
  287. trait IsomorphismInvariantFunctor[F[_], G[_]] extends InvariantFunctor[F]

    Permalink
  288. trait IsomorphismIsEmpty[F[_], G[_]] extends IsEmpty[F] with IsomorphismPlusEmpty[F, G]

    Permalink
  289. trait IsomorphismMonad[F[_], G[_]] extends Monad[F] with IsomorphismApplicative[F, G] with IsomorphismBind[F, G]

    Permalink
  290. trait IsomorphismMonadError[F[_], G[_], S] extends MonadError[F, S] with IsomorphismMonad[F, G] with IsomorphismApplicativeError[F, G, S]

    Permalink
  291. trait IsomorphismMonadPlus[F[_], G[_]] extends MonadPlus[F] with IsomorphismMonad[F, G] with IsomorphismApplicativePlus[F, G]

    Permalink
  292. trait IsomorphismMonadReader[F[_], G[_], S] extends MonadReader[F, S] with IsomorphismMonad[F, G]

    Permalink
  293. trait IsomorphismMonadState[F[_], G[_], S] extends MonadState[F, S] with IsomorphismMonad[F, G]

    Permalink
  294. trait IsomorphismMonadTell[F[_], G[_], S] extends MonadTell[F, S] with IsomorphismMonad[F, G]

    Permalink
  295. trait IsomorphismMonoid[F, G] extends Monoid[F] with IsomorphismSemigroup[F, G]

    Permalink
  296. trait IsomorphismNondeterminism[F[_], G[_]] extends Nondeterminism[F] with IsomorphismMonad[F, G]

    Permalink
  297. trait IsomorphismOptional[F[_], G[_]] extends Optional[F]

    Permalink
  298. trait IsomorphismOrder[F, G] extends Order[F] with IsomorphismEqual[F, G]

    Permalink
  299. trait IsomorphismPlus[F[_], G[_]] extends Plus[F]

    Permalink
  300. trait IsomorphismPlusEmpty[F[_], G[_]] extends PlusEmpty[F] with IsomorphismPlus[F, G]

    Permalink
  301. trait IsomorphismProChoice[F[_, _], G[_, _]] extends ProChoice[F] with IsomorphismProfunctor[F, G]

    Permalink
  302. trait IsomorphismProfunctor[F[_, _], G[_, _]] extends Profunctor[F]

    Permalink
  303. trait IsomorphismSemiLattice[F, G] extends SemiLattice[F] with IsomorphismBand[F, G]

    Permalink
  304. trait IsomorphismSemigroup[F, G] extends Semigroup[F]

    Permalink
  305. trait IsomorphismShow[F, G] extends Show[F]

    Permalink
  306. trait IsomorphismSplit[F[_, _], G[_, _]] extends Split[F] with IsomorphismCompose[F, G]

    Permalink
  307. trait IsomorphismStrong[F[_, _], G[_, _]] extends Strong[F] with IsomorphismProfunctor[F, G]

    Permalink
  308. trait IsomorphismTraverse[F[_], G[_]] extends Traverse[F] with IsomorphismFunctor[F, G] with IsomorphismFoldable[F, G]

    Permalink
  309. trait IsomorphismTraverse1[F[_], G[_]] extends Traverse1[F] with IsomorphismTraverse[F, G] with IsomorphismFoldable1[F, G]

    Permalink
  310. trait IsomorphismUnzip[F[_], G[_]] extends Unzip[F]

    Permalink
  311. trait IsomorphismZip[F[_], G[_]] extends Zip[F]

    Permalink
  312. sealed abstract class Isomorphisms extends AnyRef

    Permalink
  313. final case class Kleisli[M[_], A, B](run: (A) ⇒ M[B]) extends Product with Serializable

    Permalink

    Represents a function A => M[B].

  314. abstract class KleisliInstances extends KleisliInstances0

    Permalink
  315. sealed abstract class KleisliInstances0 extends KleisliInstances1

    Permalink
  316. sealed abstract class KleisliInstances1 extends KleisliInstances2

    Permalink
  317. sealed abstract class KleisliInstances10 extends KleisliInstances11

    Permalink
  318. sealed abstract class KleisliInstances11 extends KleisliInstances12

    Permalink
  319. sealed abstract class KleisliInstances12 extends KleisliInstances13

    Permalink
  320. sealed abstract class KleisliInstances13 extends KleisliInstances14

    Permalink
  321. sealed abstract class KleisliInstances14 extends KleisliInstances15

    Permalink
  322. sealed abstract class KleisliInstances15 extends AnyRef

    Permalink
  323. sealed abstract class KleisliInstances2 extends KleisliInstances3

    Permalink
  324. sealed abstract class KleisliInstances3 extends KleisliInstances4

    Permalink
  325. sealed abstract class KleisliInstances4 extends KleisliInstances5

    Permalink
  326. sealed abstract class KleisliInstances5 extends KleisliInstances6

    Permalink
  327. sealed abstract class KleisliInstances6 extends KleisliInstances7

    Permalink
  328. sealed abstract class KleisliInstances7 extends KleisliInstances8

    Permalink
  329. sealed abstract class KleisliInstances8 extends KleisliInstances9

    Permalink
  330. sealed abstract class KleisliInstances9 extends KleisliInstances10

    Permalink
  331. trait Konst[A] extends AnyRef

    Permalink
  332. trait Lan[G[_], H[_], A] extends AnyRef

    Permalink

    The left Kan extension of H along G

  333. sealed abstract class LanInstances extends LanInstances0

    Permalink
  334. sealed abstract class LanInstances0 extends AnyRef

    Permalink
  335. type LastMaybe[A] = scalaz.TagKind.@@[Maybe[A], Last]

    Permalink
  336. type LastOf[A] = scalaz.TagKind.@@[A, LastVal]

    Permalink
  337. type LastOption[A] = scalaz.TagKind.@@[Option[A], Last]

    Permalink
  338. sealed abstract class LazyEither[A, B] extends AnyRef

    Permalink

    scala.Either, but with a value by name.

  339. sealed abstract class LazyEitherInstances extends AnyRef

    Permalink
  340. final case class LazyEitherT[F[_], A, B](run: F[LazyEither[A, B]]) extends Product with Serializable

    Permalink
  341. sealed abstract class LazyEitherTInstances extends LazyEitherTInstances0

    Permalink
  342. sealed abstract class LazyEitherTInstances0 extends LazyEitherTInstances1

    Permalink
  343. sealed abstract class LazyEitherTInstances1 extends AnyRef

    Permalink
  344. sealed abstract class LazyOption[A] extends Product with Serializable

    Permalink

    scala.Option, but with a value by name.

  345. sealed abstract class LazyOptionInstances extends AnyRef

    Permalink
  346. final case class LazyOptionT[F[_], A](run: F[LazyOption[A]]) extends Product with Serializable

    Permalink
  347. sealed abstract class LazyOptionTInstances extends LazyOptionTInstances0

    Permalink
  348. sealed abstract class LazyOptionTInstances0 extends LazyOptionTInstances1

    Permalink
  349. sealed abstract class LazyOptionTInstances1 extends AnyRef

    Permalink
  350. sealed abstract class LazyTuple2[A, B] extends AnyRef

    Permalink

    scala.Tuple2, but with values by name.

  351. sealed abstract class LazyTuple2Instances extends LazyTuple2Instances0

    Permalink
  352. sealed abstract class LazyTuple2Instances0 extends AnyRef

    Permalink
  353. sealed abstract class LazyTuple3[A, B, C] extends AnyRef

    Permalink

    scala.Tuple3, but with values by name.

  354. sealed abstract class LazyTuple3Instances extends LazyTuple3Instances0

    Permalink
  355. sealed abstract class LazyTuple3Instances0 extends AnyRef

    Permalink
  356. sealed abstract class LazyTuple4[A, B, C, D] extends AnyRef

    Permalink

    scala.Tuple4, but with values by name.

  357. sealed abstract class LazyTuple4Instances extends LazyTuple4Instances0

    Permalink
  358. sealed abstract class LazyTuple4Instances0 extends AnyRef

    Permalink
  359. final case class Left3[A, B, C](a: A) extends Either3[A, B, C] with Product with Serializable

    Permalink
  360. sealed abstract class Leibniz[-L, +H >: L, A >: L <: H, B >: L <: H] extends AnyRef

    Permalink

    Leibnizian equality: a better =:=

    Leibnizian equality: a better =:=

    This technique was first used in Typing Dynamic Typing (Baars and Swierstra, ICFP 2002).

    It is generalized here to handle subtyping so that it can be used with constrained type constructors.

    Leibniz[L,H,A,B] says that A = B, and that both of its types are between L and H. Subtyping lets you loosen the bounds on L and H.

    If you just need a witness that A = B, then you can use A===B which is a supertype of any Leibniz[L,H,A,B]

    The more refined types are useful if you need to be able to substitute into restricted contexts.

  361. sealed abstract class LeibnizF[A[_], B[_]] extends AnyRef

    Permalink
  362. sealed abstract class LeibnizInstances extends AnyRef

    Permalink
  363. type Lens[A, B] = LensFamily[A, A, B, B]

    Permalink

    A lens that doesn't transform the type of the record.

    A lens that doesn't transform the type of the record.

    See also

    scalaz.@>

  364. sealed abstract class LensFamily[A1, A2, B1, B2] extends AnyRef

    Permalink

    A Lens Family, offering a purely functional means to access and retrieve a field transitioning from type B1 to type B2 in a record simultaneously transitioning from type A1 to type A2.

    A Lens Family, offering a purely functional means to access and retrieve a field transitioning from type B1 to type B2 in a record simultaneously transitioning from type A1 to type A2. scalaz.Lens is a convenient alias for when A1 === A2, and B1 === B2.

    The term field should not be interpreted restrictively to mean a member of a class. For example, a lens family can address membership of a Set.

    A1

    The initial type of the record

    A2

    The final type of the record

    B1

    The initial type of the field

    B2

    The final type of the field

    See also

    scalaz.PLens

  365. trait LensFamilyFunctions extends AnyRef

    Permalink
  366. trait LensFunctions extends LensFamilyFunctions

    Permalink
  367. abstract class LensInstances extends LensInstances0

    Permalink
  368. sealed abstract class LensInstances0 extends AnyRef

    Permalink
  369. sealed abstract class Liskov[-A, +B] extends AnyRef

    Permalink

    Liskov substitutability: A better <:<

    Liskov substitutability: A better <:<

    A <: B holds whenever A could be used in any negative context that expects a B. (e.g. if you could pass an A into any function that expects a B.)

  370. sealed abstract class LiskovInstances extends AnyRef

    Permalink
  371. final case class ListT[M[_], A](run: M[IList[A]]) extends Product with Serializable

    Permalink

    ListT monad transformer.

  372. sealed abstract class ListTInstances extends ListTInstances1

    Permalink
  373. sealed abstract class ListTInstances1 extends ListTInstances2

    Permalink
  374. sealed abstract class ListTInstances2 extends AnyRef

    Permalink
  375. sealed abstract class MapInstances extends MapInstances0

    Permalink
  376. sealed abstract class MapInstances0 extends MapInstances1

    Permalink
  377. sealed abstract class MapInstances1 extends MapInstances2

    Permalink
  378. sealed abstract class MapInstances2 extends AnyRef

    Permalink
  379. type MaxMaybe[A] = scalaz.TagKind.@@[Maybe[A], Max]

    Permalink
  380. type MaxOf[A] = scalaz.TagKind.@@[A, MaxVal]

    Permalink
  381. type MaxOption[A] = scalaz.TagKind.@@[Option[A], Max]

    Permalink
  382. sealed abstract class Maybe[A] extends AnyRef

    Permalink

    An optional value

    An optional value

    A Maybe[A] will either be a wrapped A instance (Just[A]), or a lack of underlying A instance (Empty[A]).

    Maybe[A] is isomorphic to Option[A], however there are some differences between the two. Maybe is invariant in A while Option is covariant. Maybe[A] does not expose an unsafe get operation to access the underlying A value (that may not exist) like Option[A] does. Maybe[A] does not come with an implicit conversion to Iterable[A] (a trait with over a dozen super types).

  383. sealed abstract class MaybeInstances extends MaybeInstances0

    Permalink
  384. sealed abstract class MaybeInstances0 extends MaybeInstances1

    Permalink
  385. sealed abstract class MaybeInstances1 extends AnyRef

    Permalink
  386. final case class MaybeT[F[_], A](run: F[Maybe[A]]) extends Product with Serializable

    Permalink

    monad transformer for Maybe

  387. sealed abstract class MaybeTInstances extends MaybeTInstances0

    Permalink
  388. sealed abstract class MaybeTInstances0 extends MaybeTInstances1

    Permalink
  389. sealed abstract class MaybeTInstances1 extends MaybeTInstances2

    Permalink
  390. sealed abstract class MaybeTInstances2 extends MaybeTInstances3

    Permalink
  391. sealed abstract class MaybeTInstances3 extends AnyRef

    Permalink
  392. sealed abstract class Memo[K, V] extends AnyRef

    Permalink

    A function memoization strategy.

    A function memoization strategy. See companion for various instances employing various strategies.

  393. sealed abstract class MemoInstances extends AnyRef

    Permalink
  394. final case class Middle3[A, B, C](b: B) extends Either3[A, B, C] with Product with Serializable

    Permalink
  395. type MinMaybe[A] = scalaz.TagKind.@@[Maybe[A], Min]

    Permalink
  396. type MinOf[A] = scalaz.TagKind.@@[A, MinVal]

    Permalink
  397. type MinOption[A] = scalaz.TagKind.@@[Option[A], Min]

    Permalink
  398. trait Monad[F[_]] extends Applicative[F] with Bind[F]

    Permalink

    Monad, an scalaz.Applicative that also supports scalaz.Bind, circumscribed by the monad laws.

    Monad, an scalaz.Applicative that also supports scalaz.Bind, circumscribed by the monad laws.

    See also

    scalaz.Monad.MonadLaw

  399. trait MonadError[F[_], S] extends Monad[F] with ApplicativeError[F, S]

    Permalink

  400. trait MonadListen[F[_], W] extends MonadTell[F, W]

    Permalink
  401. trait MonadPlus[F[_]] extends Monad[F] with ApplicativePlus[F]

    Permalink

  402. trait MonadReader[F[_], S] extends Monad[F]

    Permalink

  403. trait MonadState[F[_], S] extends Monad[F]

    Permalink

    The class of monads supporting the operations of scalaz.State.

  404. trait MonadTell[F[_], S] extends Monad[F]

    Permalink

    The class of monads supporting write operations

  405. trait MonadTrans[F[_[_], _]] extends AnyRef

    Permalink

    Class of monad transformers.

  406. trait Monoid[F] extends Semigroup[F]

    Permalink

    Provides an identity element (zero) to the binary append operation in scalaz.Semigroup, subject to the monoid laws.

    Provides an identity element (zero) to the binary append operation in scalaz.Semigroup, subject to the monoid laws.

    Example instances:

    • Monoid[Int]: zero and append are 0 and Int#+ respectively
    • Monoid[List[A]]: zero and append are Nil and List#++ respectively

    References:

    See also

    scalaz.Monoid.MonoidLaw

    scalaz.syntax.MonoidOps

  407. sealed abstract class Name[+A] extends AnyRef

    Permalink

    Call by name

  408. trait NaturalTransformation[-F[_], +G[_]] extends AnyRef

    Permalink

    A universally quantified function, usually written as F ~> G, for symmetry with A => B.

    A universally quantified function, usually written as F ~> G, for symmetry with A => B.

    Can be used to encode first-class functor transformations in the same way functions encode first-class concrete value morphisms; for example, sequence from scalaz.Traverse and cosequence from scalaz.Distributive give rise to ([a]T[A[a]]) ~> ([a]A[T[a]]), for varying A and T constraints.

  409. trait NaturalTransformations extends AnyRef

    Permalink
  410. final class Need[+A] extends Name[A]

    Permalink

    Call by need

  411. final class NonEmptyList[A] extends AnyRef

    Permalink

    A singly-linked list that is guaranteed to be non-empty.

  412. sealed abstract class NonEmptyListInstances extends NonEmptyListInstances0

    Permalink
  413. sealed abstract class NonEmptyListInstances0 extends AnyRef

    Permalink
  414. trait Nondeterminism[F[_]] extends Monad[F]

    Permalink

    A context supporting nondeterministic choice.

    A context supporting nondeterministic choice. Unlike Monad.bind, which imposes a total order on the sequencing of effects throughout a computation, the choose and chooseAny operations let us partially order the sequencing of effects. Canonical instances are concurrent.Future and concurrent.Task, which run their arguments in parallel, returning whichever comes back 'first'.

    TODO - laws

  415. sealed trait NotNothing[A] extends AnyRef

    Permalink
  416. final class NullArgument[A, B] extends AnyRef

    Permalink
  417. sealed abstract class NullArgumentInstances extends NullArgumentInstances0

    Permalink
  418. sealed abstract class NullArgumentInstances0 extends AnyRef

    Permalink
  419. final class NullResult[A, B] extends AnyRef

    Permalink
  420. sealed abstract class NullResultInstances extends NullResultInstances0

    Permalink
  421. sealed abstract class NullResultInstances0 extends AnyRef

    Permalink
  422. final class OneAnd[F[_], A] extends AnyRef

    Permalink

    A generalization of NonEmptyList to non-List things.

    A generalization of NonEmptyList to non-List things. For example, OneAnd[Vector, A] is a non-empty Vector of A.

    Only head and tail are provided as direct methods, because there's little you can do with a OneAnd without knowing a bit about F. So useful functions are provided in the form of typeclass instances on OneAnd's companion; in combination with syntax extensions provided by scalaz.syntax, OneAnd has a large possible set of methods available by importing. For example, Applicative on this requires ApplicativePlus[F], and Traverse1 on this requires Traverse[F]. See the companion documentation for a complete list of instances.

    Additionally, unlike λ[α => (α, F[α])], the behavior of typeclass operations on OneAnd should be preserved across the natural transformation to scalaz.NonEmptyList where one exists. That is it should "be like" a nonempty structure. For example, ap-ing two OneAnd[Vector, ?]s or NonEmptyLists of lengths *a* and *b* yields a sequence of same type of length *a*×*b*, but two λ[α => (α, Vector[α])]s of length *c* and *d* ap to one of length 1+(*c*–1)×(*d*–1). For another example, point of the former two yield a one-element sequence, but point of the latter yields a two-element sequence.

    Since

    7.0.3

  423. sealed abstract class OneAndInstances extends OneAndInstances0

    Permalink
  424. sealed abstract class OneAndInstances0 extends OneAndInstances1

    Permalink
  425. sealed abstract class OneAndInstances1 extends OneAndInstances2

    Permalink
  426. sealed abstract class OneAndInstances2 extends OneAndInstances3

    Permalink
  427. sealed abstract class OneAndInstances3 extends OneAndInstances4

    Permalink
  428. sealed abstract class OneAndInstances4 extends OneAndInstances5

    Permalink
  429. sealed abstract class OneAndInstances5 extends AnyRef

    Permalink
  430. final case class OneOr[F[_], A](run: \/[F[A], A]) extends Product with Serializable

    Permalink

    Since

    7.0.3

  431. sealed abstract class OneOrInstances extends OneOrInstances0

    Permalink
  432. sealed abstract class OneOrInstances0 extends OneOrInstances1

    Permalink
  433. sealed abstract class OneOrInstances1 extends OneOrInstances2

    Permalink
  434. sealed abstract class OneOrInstances2 extends OneOrInstances3

    Permalink
  435. sealed abstract class OneOrInstances3 extends OneOrInstances4

    Permalink
  436. sealed abstract class OneOrInstances4 extends OneOrInstances5

    Permalink
  437. sealed abstract class OneOrInstances5 extends OneOrInstances6

    Permalink
  438. sealed abstract class OneOrInstances6 extends AnyRef

    Permalink
  439. final case class OptionT[F[_], A](run: F[Option[A]]) extends Product with Serializable

    Permalink

    OptionT monad transformer.

  440. sealed abstract class OptionTInstances extends OptionTInstances0

    Permalink
  441. sealed abstract class OptionTInstances0 extends OptionTInstances1

    Permalink
  442. sealed abstract class OptionTInstances1 extends OptionTInstances2

    Permalink
  443. sealed abstract class OptionTInstances2 extends OptionTInstances3

    Permalink
  444. sealed abstract class OptionTInstances3 extends AnyRef

    Permalink
  445. trait Optional[F[_]] extends AnyRef

    Permalink

    Abstraction over a container/context which may or may not provide a value.

    Abstraction over a container/context which may or may not provide a value.

    F

    the container/context type

    See also

    syntax.OptionalOps

  446. sealed abstract class OrdSeq[A] extends Ops[FingerTree[LastOption[A], A]]

    Permalink

    Ordered sequences, based on scalaz.FingerTree

    Ordered sequences, based on scalaz.FingerTree

    a has a higher priority than b if Order[A].greaterThan(a, b).

    insert and ++ maintains the ordering.

    The measure is calculated with a Monoid[Option[A] @@ Last], whose append operation favours the first argument. Accordingly, the measuer of a node is the item with the highest priority contained recursively below that node.

  447. trait Order[F] extends Equal[F]

    Permalink

    Safer version of scala.math.Ordering.

  448. sealed abstract class Ordering extends Product with Serializable

    Permalink

    A ternary marker of how two values relate in an ordering.

    A ternary marker of how two values relate in an ordering.

    Note

    scalaz calls its version of scala.math.Ordering, scalaz.Order. This Ordering is analogous to the Ints returned by scala.math.Ordering.

  449. sealed abstract class OrderingInstances extends AnyRef

    Permalink
  450. type PIndexedState[-S1, S2, A] = IndexedStateT[S1, S2, scalaz.Id.Id, Option[A]]

    Permalink

  451. type PIndexedStateT[F[_], -S1, S2, A] = IndexedStateT[S1, S2, F, Option[A]]

    Permalink

  452. type PLens[A, B] = PLensFamily[A, A, B, B]

    Permalink

    A partial lens that doesn't transform the type of the record.

    A partial lens that doesn't transform the type of the record.

    See also

    scalaz.@?>

  453. sealed abstract class PLensFamily[A1, A2, B1, B2] extends AnyRef

    Permalink

    Partial Lens Families, offering a purely functional means to access and retrieve an optional field transitioning from type B1 to type B2 in a record that is simultaneously transitioning from type A1 to type A2.

    Partial Lens Families, offering a purely functional means to access and retrieve an optional field transitioning from type B1 to type B2 in a record that is simultaneously transitioning from type A1 to type A2. scalaz.PLens is a convenient alias for when A1 === A2, and B1 === B2.

    The term field should not be interpreted restrictively to mean a member of a class. For example, a partial lens family can address the nth element of a List.

    A1

    The initial type of the record

    A2

    The final type of the record

    B1

    The initial type of the optional field

    B2

    The final type of the optional field

    See also

    scalaz.Lens

  454. trait PLensFamilyFunctions extends PLensInstances

    Permalink
  455. trait PLensFunctions extends PLensInstances with PLensFamilyFunctions

    Permalink
  456. abstract class PLensInstances extends AnyRef

    Permalink
  457. type PState[S, A] = IndexedStateT[S, S, scalaz.Id.Id, Option[A]]

    Permalink

  458. type PStateT[F[_], S, A] = IndexedStateT[S, S, F, Option[A]]

    Permalink

  459. type Pair[A] = (A, A)

    Permalink
  460. trait Plus[F[_]] extends AnyRef

    Permalink

    Universally quantified scalaz.Semigroup.

  461. trait PlusEmpty[F[_]] extends Plus[F]

    Permalink

    Universally quantified scalaz.Monoid.

  462. trait ProChoice[=>:[_, _]] extends Profunctor[=>:]

    Permalink

    Strength on a coproduct.

  463. trait Profunctor[=>:[_, _]] extends AnyRef

    Permalink

    Profunctors are covariant on the right and contravariant on the left.

  464. type RWS[-R, W, S, A] = IndexedReaderWriterStateT[R, W, S, S, scalaz.Id.Id, A]

    Permalink
  465. type RWST[-R, W, S, F[_], A] = IndexedReaderWriterStateT[R, W, S, S, F, A]

    Permalink
  466. trait Ran[G[_], H[_], A] extends AnyRef

    Permalink

    The right Kan extension of H along G

  467. type Reader[E, A] = Kleisli[scalaz.Id.Id, E, A]

    Permalink

  468. type ReaderT[E, F[_], A] = Kleisli[F, E, A]

    Permalink
  469. type ReaderWriterState[-R, W, S, A] = IndexedReaderWriterStateT[R, W, S, S, scalaz.Id.Id, A]

    Permalink

  470. type ReaderWriterStateT[-R, W, S, F[_], A] = IndexedReaderWriterStateT[R, W, S, S, F, A]

    Permalink

  471. trait ReaderWriterStateTFunctions extends AnyRef

    Permalink
  472. abstract class ReaderWriterStateTInstances extends ReaderWriterStateTInstances0

    Permalink
  473. sealed abstract class ReaderWriterStateTInstances0 extends IndexedReaderWriterStateTInstances

    Permalink
  474. trait Reducer[C, M] extends AnyRef

    Permalink

    A Reducer[C,M] is a scalaz.Semigroup[M] that maps values of type C through unit to values of type M.

    A Reducer[C,M] is a scalaz.Semigroup[M] that maps values of type C through unit to values of type M. A C-Reducer may also supply operations which tack on another C to an existing Semigroup M on the left or right. These specialized reductions may be more efficient in some scenarios and are used when appropriate by a scalaz.Generator. The names cons and snoc work by analogy to the synonymous operations in the list semigroup.

    Minimal definition: unit or snoc

    Based on the Reducer Haskell library by Edward Kmett (https://hackage.haskell.org/package/reducers).

  475. sealed abstract class ReducerInstances extends AnyRef

    Permalink
  476. abstract class Representable[F[_], X] extends AnyRef

    Permalink

    Representable functors, that is to say, those with isomorphisms to and from [a](X => a).

    Representable functors, that is to say, those with isomorphisms to and from [a](X => a). As such, all typeclasses and operations on [a](X => a), that is, fixed in X, can be trivially derived for F.

  477. sealed abstract class RepresentableInstances extends AnyRef

    Permalink
  478. final case class Right3[A, B, C](c: C) extends Either3[A, B, C] with Product with Serializable

    Permalink
  479. trait SemiLattice[F] extends Band[F]

    Permalink

    scalaz.Band which is also commutative, i.e.

    scalaz.Band which is also commutative, i.e. A + B == B + A

    See also

    scalaz.SemiLattice.SemiLatticeLaw

  480. trait Semigroup[F] extends AnyRef

    Permalink

    An associative binary operation, circumscribed by type and the semigroup laws.

    An associative binary operation, circumscribed by type and the semigroup laws. Unlike scalaz.Monoid, there is not necessarily a zero.

    See also

    http://mathworld.wolfram.com/Semigroup.html

    scalaz.syntax.SemigroupOps

    scalaz.Semigroup.SemigroupLaw

  481. trait Show[F] extends AnyRef

    Permalink

    A typeclass for conversion to textual representation, done via scalaz.Cord for efficiency.

  482. trait Split[=>:[_, _]] extends Compose[=>:]

    Permalink

    A scalaz.Compose (semigroupoid) permitting products.

  483. type State[S, A] = IndexedStateT[S, S, scalaz.Id.Id, A]

    Permalink

    A state transition, representing a function S => (S, A).

  484. trait StateFunctions extends IndexedStateFunctions

    Permalink
  485. type StateT[S, F[_], A] = IndexedStateT[S, S, F, A]

    Permalink

  486. trait StateTFunctions extends IndexedStateTFunctions

    Permalink
  487. abstract class StateTInstances extends StateTInstances0

    Permalink
  488. sealed abstract class StateTInstances0 extends StateTInstances1

    Permalink
  489. sealed abstract class StateTInstances1 extends StateTInstances2

    Permalink
  490. sealed abstract class StateTInstances2 extends StateTInstances3

    Permalink
  491. sealed abstract class StateTInstances3 extends StateTInstances4

    Permalink
  492. sealed abstract class StateTInstances4 extends IndexedStateTInstances

    Permalink
  493. type Store[A, B] = IndexedStoreT[scalaz.Id.Id, A, A, B]

    Permalink

  494. type StoreT[F[_], A, B] = IndexedStoreT[F, A, A, B]

    Permalink

  495. trait StoreTFunctions extends IndexedStoreTFunctions

    Permalink
  496. abstract class StoreTInstances extends StoreTInstances0

    Permalink
  497. sealed abstract class StoreTInstances0 extends StoreTInstances1

    Permalink
  498. sealed abstract class StoreTInstances1 extends StoreTInstances2

    Permalink
  499. sealed abstract class StoreTInstances2 extends IndexedStoreTInstances

    Permalink
  500. sealed class StreamT[M[_], A] extends AnyRef

    Permalink

    StreamT monad transformer.

  501. sealed abstract class StreamTInstances extends StreamTInstances0

    Permalink
  502. sealed abstract class StreamTInstances0 extends AnyRef

    Permalink
  503. case class StrictTree[A](rootLabel: A, subForest: Vector[StrictTree[A]]) extends Product with Serializable

    Permalink

    rootLabel

    The label at the root of this tree.

    subForest

    The child nodes of this tree.

  504. sealed abstract class StrictTreeInstances extends AnyRef

    Permalink
  505. final class StrictTreeUnzip[A1, A2] extends AnyVal

    Permalink
  506. trait Strong[=>:[_, _]] extends Profunctor[=>:]

    Permalink

    Strength on a product.

  507. final case class Success[E, A](a: A) extends Validation[E, A] with Product with Serializable

    Permalink
  508. sealed abstract class TagKind extends AnyRef

    Permalink
  509. final case class Tannen[F[_], G[_, _], A, B](f: F[G[A, B]]) extends Product with Serializable

    Permalink

    Composes a Functor on the outside of a Bifunctor.

  510. sealed abstract class TannenInstances extends TannenInstances0

    Permalink
  511. sealed abstract class TannenInstances0 extends AnyRef

    Permalink
  512. sealed abstract class TheseInstances extends TheseInstances0

    Permalink
  513. sealed abstract class TheseInstances0 extends TheseInstances1

    Permalink
  514. sealed abstract class TheseInstances1 extends AnyRef

    Permalink
  515. final case class TheseT[F[_], A, B](run: F[\&/[A, B]]) extends Product with Serializable

    Permalink
  516. sealed abstract class TheseTInstances extends TheseTInstances0

    Permalink
  517. sealed abstract class TheseTInstances0 extends TheseTInstances1

    Permalink
  518. sealed abstract class TheseTInstances1 extends AnyRef

    Permalink
  519. type Traced[A, B] = TracedT[scalaz.Id.Id, A, B]

    Permalink

  520. final case class TracedT[W[_], A, B](run: W[(A) ⇒ B]) extends Product with Serializable

    Permalink

  521. sealed abstract class TracedTInstances extends TracedTInstances0

    Permalink
  522. sealed abstract class TracedTInstances0 extends TracedTInstances1

    Permalink
  523. sealed abstract class TracedTInstances1 extends TracedTInstances2

    Permalink
  524. sealed abstract class TracedTInstances2 extends TracedTInstances3

    Permalink
  525. sealed abstract class TracedTInstances3 extends TracedTInstances4

    Permalink
  526. sealed abstract class TracedTInstances4 extends TracedTInstances5

    Permalink
  527. sealed abstract class TracedTInstances5 extends AnyRef

    Permalink
  528. trait Traverse[F[_]] extends Functor[F] with Foldable[F]

    Permalink

    Idiomatic traversal of a structure, as described in The Essence of the Iterator Pattern.

    Idiomatic traversal of a structure, as described in The Essence of the Iterator Pattern.

    See also

    scalaz.Traverse.TraverseLaw

  529. trait Traverse1[F[_]] extends Traverse[F] with Foldable1[F]

    Permalink

    A scalaz.Traverse where traverse is total over scalaz.Applys.

    A scalaz.Traverse where traverse is total over scalaz.Applys. That is, toList cannot return an empty list.

  530. sealed abstract class Tree[A] extends AnyRef

    Permalink

    A multi-way tree, also known as a rose tree.

    A multi-way tree, also known as a rose tree. Also known as Cofree[Stream, A].

  531. sealed abstract class TreeInstances extends AnyRef

    Permalink
  532. final case class TreeLoc[A](tree: Tree[A], lefts: TreeForest[A], rights: TreeForest[A], parents: Parents[A]) extends Product with Serializable

    Permalink

    A rose-tree zipper.

    A rose-tree zipper. Represents a scalaz.Tree together with a position in that tree. Provides navigation, persistent update, insertion, and deletes.

    tree

    The currently selected node.

    lefts

    The left siblings of the current node.

    rights

    The right siblings of the current node.

    parents

    The parent contexts of the current node.

  533. sealed abstract class TreeLocInstances extends AnyRef

    Permalink
  534. trait Unapply[TC[_[_]], MA] extends AnyRef

    Permalink

    Represents a type MA that has been destructured into as a type constructor M[_] applied to type A, along with a corresponding type class instance TC[M].

    Represents a type MA that has been destructured into as a type constructor M[_] applied to type A, along with a corresponding type class instance TC[M].

    The implicit conversions in the companion object provide a means to obtain type class instances for partially applied type constructors, in lieu of direct compiler support as described in SI-2712.

    // Directly depending on Applicative[G]
    def traverse[G[_], B](f: A => G[B])(implicit G: Applicative[G]): G[F[B]] =
      G.traverse(self)(f)
    
    // Indirect lookup of the Applicative instance
    def traverseI[GB](f: A => GB)(implicit G: Unapply[Applicative, GB]): G.M[F[G.A]] /*G[F[B]*/ = {
      G.TC.traverse(self)(a => G(f(a)))
    }
    
    // Deforested version of traverseI
    def traverseI2[GB](f: A => GB)(implicit G: Unapply[Applicative, GB]): G.M[F[G.A]] /*G[F[B]*/ = {
      G.TC.traverse(self)(G.leibniz.onF(f))
    }
    
    // Old usage
    def stateTraverse1 {
      import scalaz._, Scalaz._
      import State.{State, stateMonad}
      val ls = List(1, 2, 3)
      val traverseOpt: Option[List[Int]] = ls.traverse(a => Some(a))
      val traverseState: State[Int, List[Int]] = ls.traverse[State[Int, ?], Int](a => State((x: Int) => (x + 1, a)))
    }
    
    // New usage
    def stateTraverse2 {
      import scalaz._, Scalaz._
      val ls = List(1, 2, 3)
      val traverseOpt: Option[List[Int]] = ls.traverseI(a => some(a))
      val traverseState = ls.traverseI(a => State((x: Int) => (x + 1, a)))
    }

    Credits to Miles Sabin.

    Annotations
    @implicitNotFound( ... )
  535. trait Unapply2[TC[_[_, _]], MAB] extends AnyRef

    Permalink
  536. trait Unapply21[TC[_[_, _], _], MAB] extends AnyRef

    Permalink
  537. trait UnapplyProduct[TC[_[_]], MA, MB] extends AnyRef

    Permalink
  538. sealed abstract class Unapply_0 extends Unapply_2

    Permalink
  539. sealed abstract class Unapply_2 extends Unapply_3

    Permalink
  540. sealed abstract class Unapply_3 extends Unapply_4

    Permalink
  541. sealed abstract class Unapply_4 extends AnyRef

    Permalink
  542. sealed abstract class UnitReducer[C, M] extends Reducer[C, M]

    Permalink
  543. type Unwriter[W, A] = UnwriterT[scalaz.Id.Id, W, A]

    Permalink

  544. final case class UnwriterT[F[_], U, A](run: F[(U, A)]) extends Product with Serializable

    Permalink

    This data type is isomorphic to WriterT, however, it is NOT a monad.

    This data type is isomorphic to WriterT, however, it is NOT a monad.

    It implements flatMap+map and drops the write value. There is no Monoid or Semigroup required. There is no point operation. You can switch between WriterT and UnwriterT with unary_+ and unary_-.

  545. trait UnwriterTFunctions extends AnyRef

    Permalink
  546. sealed abstract class UnwriterTInstances extends UnwriterTInstances0

    Permalink
  547. sealed abstract class UnwriterTInstances0 extends UnwriterTInstances1

    Permalink
  548. sealed abstract class UnwriterTInstances1 extends UnwriterTInstances2

    Permalink
  549. sealed abstract class UnwriterTInstances2 extends AnyRef

    Permalink
  550. trait Unzip[F[_]] extends AnyRef

    Permalink

  551. sealed abstract class Validation[E, A] extends Product with Serializable

    Permalink

    Represents either:

    Represents either:

    • Success(a), or
    • Failure(e).

    Isomorphic to scala.Either and scalaz.\/. The motivation for a Validation is to provide the instance Applicativea that accumulate failures through a scalaz.Semigroup[E].

    scalaz.NonEmptyList is commonly chosen as a type constructor for the type E. As a convenience, an alias scalaz.ValidationNel[E] is provided as a shorthand for scalaz.Validation[NonEmptyList[E]], and a method Validation#toValidationNel converts Validation[E] to ValidationNel[E].

    Example:

    import scalaz._, std.AllInstances._
    
    def parseInt(s: String): Validation[String, Int] =
      try { Success(s.toInt) } catch { case ex: NumberFormatException => Failure(ex.getMessage) }
    val V = Applicative[ValidationNel[String, ?]]
    
    val x: ValidationNel[String, Int] =
      V.apply2(parseInt("1.x").toValidationNel, parseInt("1..0").toValidationNel)(_ * _)
      // Failure(NonEmptyList(For input string: "1..0", For input string: "1.x"))
    E

    The type of the Failure

    A

    The type of the Success

  552. final class ValidationFlatMap[E, A] extends AnyVal

    Permalink
  553. sealed abstract class ValidationInstances extends ValidationInstances0

    Permalink
  554. sealed abstract class ValidationInstances0 extends ValidationInstances1

    Permalink
  555. sealed abstract class ValidationInstances1 extends ValidationInstances2

    Permalink
  556. sealed abstract class ValidationInstances2 extends ValidationInstances3

    Permalink
  557. sealed abstract class ValidationInstances3 extends AnyRef

    Permalink
  558. type ValidationNel[E, X] = Validation[NonEmptyList[E], X]

    Permalink

    An scalaz.Validation with a scalaz.NonEmptyList as the failure type.

  559. final case class Value[+A](value: A) extends Name[A] with Product with Serializable

    Permalink

    Call by value

  560. type Writer[W, A] = WriterT[W, scalaz.Id.Id, A]

    Permalink

  561. final case class WriterT[W, F[_], A](run: F[(W, A)]) extends Product with Serializable

    Permalink
  562. trait WriterTFunctions extends AnyRef

    Permalink
  563. sealed abstract class WriterTInstance5 extends WriterTInstances6

    Permalink
  564. sealed abstract class WriterTInstances extends WriterTInstances0

    Permalink
  565. sealed abstract class WriterTInstances0 extends WriterTInstances1

    Permalink
  566. sealed abstract class WriterTInstances1 extends WriterTInstances2

    Permalink
  567. sealed abstract class WriterTInstances10 extends WriterTInstances11

    Permalink
  568. sealed abstract class WriterTInstances11 extends WriterTInstances12

    Permalink
  569. sealed abstract class WriterTInstances12 extends WriterTInstances13

    Permalink
  570. sealed abstract class WriterTInstances13 extends WriterTInstances14

    Permalink
  571. sealed abstract class WriterTInstances14 extends WriterTInstances15

    Permalink
  572. sealed abstract class WriterTInstances15 extends WriterTInstances16

    Permalink
  573. sealed abstract class WriterTInstances16 extends AnyRef

    Permalink
  574. sealed abstract class WriterTInstances2 extends WriterTInstances3

    Permalink
  575. sealed abstract class WriterTInstances3 extends WriterTInstances4

    Permalink
  576. sealed abstract class WriterTInstances4 extends WriterTInstance5

    Permalink
  577. sealed abstract class WriterTInstances6 extends WriterTInstances7

    Permalink
  578. sealed abstract class WriterTInstances7 extends WriterTInstances8

    Permalink
  579. sealed abstract class WriterTInstances8 extends WriterTInstances9

    Permalink
  580. sealed abstract class WriterTInstances9 extends WriterTInstances10

    Permalink
  581. abstract class Yoneda[F[_], A] extends AnyRef

    Permalink

    The cofree functor generated by F.

    The cofree functor generated by F. The Yoneda lemma says that Yoneda[F,A] is isomorphic to F[A] for any functor F. The homomorphism from Yoneda[F,A] to F[A] exists even when we have forgotten that F is a functor. Can be seen as a partially applied map for the functor F.

  582. trait Zap[F[_], G[_]] extends AnyRef

    Permalink

    Functors that annihilate each other.

  583. sealed abstract class ZapInstances extends AnyRef

    Permalink
  584. trait Zip[F[_]] extends AnyRef

    Permalink

  585. final case class Zipper[+A](lefts: Stream[A], focus: A, rights: Stream[A]) extends Product with Serializable

    Permalink

    Provides a pointed stream, which is a non-empty zipper-like stream structure that tracks an index (focus) position in a stream.

    Provides a pointed stream, which is a non-empty zipper-like stream structure that tracks an index (focus) position in a stream. Focus can be moved forward and backwards through the stream, elements can be inserted before or after the focused position, and the focused item can be deleted.

    Based on the pointedlist library by Jeff Wheeler.

  586. sealed abstract class ZipperInstances extends AnyRef

    Permalink
  587. sealed abstract class \&/[A, B] extends Product with Serializable

    Permalink

    Since

    7.0.3

  588. sealed abstract class \/[A, B] extends Product with Serializable

    Permalink

    Represents a disjunction: a result that is either an A or a B.

    Represents a disjunction: a result that is either an A or a B.

    An instance of A \/ B is either a -\/[A] (aka a "left") or a \/-[B] (aka a "right").

    A common use of a disjunction is to explicitly represent the possibility of failure in a result as opposed to throwing an exception. By convention, the left is used for errors and the right is reserved for successes. For example, a function that attempts to parse an integer from a string may have a return type of NumberFormatException \/ Int. However, since there is no need to actually throw an exception, the type (A) chosen for the "left" could be any type representing an error and has no need to actually extend Exception.

    A \/ B is isomorphic to scala.Either[A, B], but \/ is right-biased for all Scala versions, so methods such as map and flatMap apply only in the context of the "right" case. This right bias makes \/ more convenient to use than scala.Either in a monadic context in Scala versions <2.12. Methods such as swap, swapped, and leftMap provide functionality that scala.Either exposes through left projections.

    A \/ B is also isomorphic to Validation[A, B]. The subtle but important difference is that Applicative instances for Validation accumulates errors ("lefts") while Applicative instances for \/ fail fast on the first "left" they evaluate. This fail-fast behavior allows \/ to have lawful Monad instances that are consistent with their Applicative instances, while Validation cannot.

  589. final case class \/-[A, B](b: B) extends \/[A, B] with Product with Serializable

    Permalink

    A right disjunction

    A right disjunction

    Often used to represent the success case of a result

  590. class unused extends deprecated

    Permalink

    Mark an explicit or implicit parameter as known to be unused, as shorthand for the longer form, useful in combination with -Ywarn-unused:explicits,implicits compiler options.

  591. type |-->[A, B] = IndexedStoreT[scalaz.Id.Id, B, B, A]

    Permalink
  592. type ~>[-F[_], +G[_]] = NaturalTransformation[F, G]

    Permalink

    A scalaz.NaturalTransformation[F, G].

  593. type ~~>[-F[_, _], +G[_, _]] = BiNaturalTransformation[F, G]

    Permalink
  594. type [A, B] = \/[A, B]

    Permalink
  595. type = Any

    Permalink
  596. type = Nothing

    Permalink
  597. trait Catchable[F[_]] extends AnyRef

    Permalink

    A context in which exceptions can be caught and thrown.

    A context in which exceptions can be caught and thrown.

    This class places no other class constraints on F, but it should be the case that exceptions raised via fail are caught by the nearest surrounding attempt and returned as a Left. In addition to catching explicitly raised exceptions via fail, we expect that attempt catch ambient exceptions that might occur when 'evaluating' an F.

    We can state the requirement that attempt catch all ambient exceptions by stipulating that for all total functions of the form g: forall A . F[Throwable \/ A] => B, g compose attempt is also total.

    Annotations
    @deprecated
    Deprecated

    (Since version 7.3.0) No laws, and Throwable is not referentially transparent. Prefer MonadError

Value Members

  1. object -\/ extends Serializable

    Permalink
  2. object /~\

    Permalink
  3. object :+:

    Permalink
  4. object ==>> extends MapInstances

    Permalink
  5. object Adjunction extends AdjunctionInstances

    Permalink
  6. object Align

    Permalink
  7. object Alpha extends AlphaInstances with Serializable

    Permalink
  8. object Alt

    Permalink
  9. object Alter extends AlterInstances with Serializable

    Permalink
  10. object Ap extends ApInstances with Serializable

    Permalink
  11. object Applicative

    Permalink
  12. object ApplicativeError

    Permalink
  13. object ApplicativePlus

    Permalink
  14. object Apply

    Permalink
  15. object Arrow

    Permalink
  16. object Associative

    Permalink
  17. object Band

    Permalink
  18. object Bifoldable

    Permalink
  19. object Bifunctor

    Permalink
  20. object BijectionT extends BijectionTInstances

    Permalink
  21. object Bind

    Permalink
  22. object BindRec

    Permalink
  23. object Bitraverse

    Permalink
  24. object CaseInsensitive extends CaseInsensitiveInstances

    Permalink
  25. object Catchable

    Permalink
  26. object Category

    Permalink
  27. object Choice

    Permalink
  28. object Cobind

    Permalink
  29. object Codensity extends CodensityInstances

    Permalink
  30. object Cofree extends CofreeInstances

    Permalink
  31. object Cohoist

    Permalink
  32. object Cokleisli extends CokleisliInstances with Serializable

    Permalink
  33. object Comonad

    Permalink
  34. object ComonadStore

    Permalink
  35. object ComonadTrans

    Permalink
  36. object Compose

    Permalink
  37. object Const extends ConstInstances with Serializable

    Permalink
  38. object Cont extends IndexedContsTInstances with IndexedContsTFunctions with Serializable

    Permalink
  39. object ContT extends IndexedContsTInstances with IndexedContsTFunctions with Serializable

    Permalink
  40. object Contravariant

    Permalink
  41. object ContravariantCoyoneda extends ContravariantCoyonedaInstances

    Permalink
  42. object Conts extends IndexedContsTInstances with IndexedContsTFunctions with Serializable

    Permalink
  43. object ContsT extends IndexedContsTInstances with IndexedContsTFunctions with Serializable

    Permalink
  44. object Coproduct extends CoproductInstances with Serializable

    Permalink
  45. object Cord

    Permalink
  46. object CorecursiveList extends CorecursiveListInstances

    Permalink
  47. object Coyoneda extends CoyonedaInstances

    Permalink
  48. object Cozip

    Permalink
  49. val DLeft: -\/.type

    Permalink
  50. object DList extends DListInstances

    Permalink
  51. val DRight: \/-.type

    Permalink
  52. object Day extends DayInstances

    Permalink
  53. object Decidable

    Permalink
  54. object Dequeue extends DequeueInstances

    Permalink
  55. object Diev extends DievInstances

    Permalink
  56. object DievInterval

    Permalink
  57. object Digit extends DigitInstances with Serializable

    Permalink
  58. val Disjunction: \/.type

    Permalink
  59. val DisjunctionT: EitherT.type

    Permalink
  60. object Distributive

    Permalink
  61. object Divide

    Permalink
  62. object Divisible

    Permalink
  63. object Dual extends DualInstances

    Permalink
  64. object Either3 extends Serializable

    Permalink
  65. object EitherT extends EitherTInstances with Serializable

    Permalink
  66. object Endo extends EndoInstances with Serializable

    Permalink
  67. object EndoByName extends EndoByNameInstances with Serializable

    Permalink
  68. object Endomorphic extends EndomorphicInstances with Serializable

    Permalink
  69. object Enum

    Permalink
  70. object EphemeralStream extends EphemeralStreamInstances

    Permalink
  71. object Equal

    Permalink
  72. object FingerTree extends FingerTreeInstances

    Permalink
  73. object FoldCase extends FoldCaseInstances

    Permalink
  74. object Foldable

    Permalink
  75. object Foldable1

    Permalink
  76. object Forall extends Foralls

    Permalink
  77. object Free extends FreeInstances

    Permalink
  78. object FreeAp

    Permalink
  79. object FreeT extends FreeTInstances

    Permalink
  80. object Functor

    Permalink
  81. object Generator extends Generators

    Permalink
  82. object Heap extends HeapInstances

    Permalink
  83. object Hoist

    Permalink
  84. object IList extends IListInstances with Serializable

    Permalink
  85. val IMap: ==>>.type

    Permalink
  86. object INil extends Serializable

    Permalink
  87. val IRWS: IndexedReaderWriterState.type

    Permalink
  88. val IRWST: IndexedReaderWriterStateT.type

    Permalink
  89. object ISet extends ISetInstances

    Permalink
  90. object IStream

    Permalink
  91. object Id extends IdInstances

    Permalink
  92. object IdT extends IdTInstances with Serializable

    Permalink
  93. object ImmutableArray extends ImmutableArrayInstances

    Permalink
  94. object IndSeq extends IndSeqInstances

    Permalink
  95. object IndexedCont extends IndexedContsTInstances with IndexedContsTFunctions with Serializable

    Permalink
  96. object IndexedContT extends IndexedContsTInstances with IndexedContsTFunctions with Serializable

    Permalink
  97. object IndexedConts extends IndexedContsTInstances with IndexedContsTFunctions with Serializable

    Permalink
  98. object IndexedContsT extends IndexedContsTInstances with IndexedContsTFunctions with Serializable

    Permalink
  99. object IndexedReaderWriterState extends ReaderWriterStateTInstances with ReaderWriterStateTFunctions

    Permalink
  100. object IndexedReaderWriterStateT extends ReaderWriterStateTInstances with ReaderWriterStateTFunctions

    Permalink
  101. object IndexedState extends StateFunctions

    Permalink
  102. object IndexedStateT extends StateTInstances with StateTFunctions

    Permalink
  103. object IndexedStore extends Serializable

    Permalink
  104. object IndexedStoreT extends StoreTInstances with StoreTFunctions with Serializable

    Permalink
  105. object Inject extends InjectInstances

    Permalink
  106. object Injectivity

    Permalink
  107. object InvariantAlt

    Permalink
  108. object InvariantApplicative

    Permalink
  109. object InvariantFunctor

    Permalink
  110. object IsEmpty

    Permalink
  111. object Isomorphism extends Isomorphisms

    Permalink
  112. object Kleisli extends KleisliInstances with Serializable

    Permalink
  113. object Lan extends LanInstances

    Permalink
  114. object LazyEither extends LazyEitherInstances

    Permalink
  115. object LazyEitherT extends LazyEitherTInstances with Serializable

    Permalink
  116. object LazyOption extends LazyOptionInstances with Serializable

    Permalink
  117. object LazyOptionT extends LazyOptionTInstances with Serializable

    Permalink
  118. object LazyTuple

    Permalink
  119. object LazyTuple2 extends LazyTuple2Instances

    Permalink
  120. object LazyTuple3 extends LazyTuple3Instances

    Permalink
  121. object LazyTuple4 extends LazyTuple4Instances

    Permalink
  122. object Leibniz extends LeibnizInstances

    Permalink
  123. object LeibnizF

    Permalink
  124. object Lens extends LensInstances with LensFunctions

    Permalink

    See also

    scalaz.Lens

  125. object LensFamily extends LensInstances with LensFunctions

    Permalink
  126. object Liskov extends LiskovInstances

    Permalink
  127. object ListT extends ListTInstances with Serializable

    Permalink
  128. object Maybe extends MaybeInstances

    Permalink
  129. object MaybeT extends MaybeTInstances with Serializable

    Permalink
  130. object Memo extends MemoInstances

    Permalink

  131. object Monad

    Permalink
  132. object MonadError

    Permalink
  133. object MonadListen

    Permalink
  134. object MonadPlus

    Permalink
  135. object MonadReader

    Permalink
  136. object MonadState

    Permalink
  137. object MonadTell

    Permalink
  138. object MonadTrans

    Permalink
  139. object Monoid

    Permalink
  140. object Name

    Permalink
  141. object NaturalTransformation extends NaturalTransformations

    Permalink
  142. object Need

    Permalink
  143. object NonEmptyList extends NonEmptyListInstances

    Permalink
  144. object Nondeterminism

    Permalink
  145. object NotNothing

    Permalink
  146. object NullArgument extends NullArgumentInstances

    Permalink
  147. object NullResult extends NullResultInstances

    Permalink
  148. object OneAnd extends OneAndInstances

    Permalink
  149. object OneOr extends OneOrInstances with Serializable

    Permalink
  150. object OptionT extends OptionTInstances with Serializable

    Permalink
  151. object Optional

    Permalink
  152. object OrdSeq

    Permalink
  153. object Order

    Permalink
  154. object Ordering extends OrderingInstances with Serializable

    Permalink
  155. object PLens extends PLensInstances with PLensFunctions

    Permalink

    See also

    scalaz.PLens

  156. object PLensFamily extends PLensInstances with PLensFunctions

    Permalink
  157. object Plus

    Permalink
  158. object PlusEmpty

    Permalink
  159. object ProChoice

    Permalink
  160. object Profunctor

    Permalink
  161. val RWS: ReaderWriterState.type

    Permalink
  162. val RWST: ReaderWriterStateT.type

    Permalink
  163. object Ran

    Permalink
  164. object Reader extends Serializable

    Permalink
  165. object ReaderT extends Serializable

    Permalink
  166. object ReaderWriterState extends ReaderWriterStateTInstances with ReaderWriterStateTFunctions

    Permalink
  167. object ReaderWriterStateT extends ReaderWriterStateTInstances with ReaderWriterStateTFunctions

    Permalink
  168. object Reducer extends ReducerInstances

    Permalink
  169. object Representable extends RepresentableInstances

    Permalink
  170. object Scalaz extends StateFunctions with ToTypeClassOps with ToDataOps with AllInstances with AllFunctions with ToAllStdOps with IdInstances

    Permalink
  171. object ScalazBuildInfo extends Product with Serializable

    Permalink

    This object was generated by sbt-buildinfo.

  172. object SemiLattice

    Permalink
  173. object Semigroup

    Permalink
  174. object Show

    Permalink
  175. object Split

    Permalink
  176. object State extends StateFunctions

    Permalink
  177. object StateT extends StateTInstances with StateTFunctions

    Permalink
  178. object Store extends Serializable

    Permalink
  179. object StoreT extends StoreTInstances with StoreTFunctions with Serializable

    Permalink
  180. object StreamT extends StreamTInstances

    Permalink
  181. object StrictTree extends StrictTreeInstances with Serializable

    Permalink
  182. object Strong

    Permalink
  183. object Tag

    Permalink
  184. object Tags

    Permalink

    Type tags that are used to discriminate between alternative type class instances.

    Type tags that are used to discriminate between alternative type class instances.

    See also

    scalaz.Tag and, @@ in the package object scalaz .

  185. object Tannen extends TannenInstances with Serializable

    Permalink
  186. object TheseT extends TheseTInstances with Serializable

    Permalink
  187. def Traced[A, B](f: (A) ⇒ B): Traced[A, B]

    Permalink
  188. object TracedT extends TracedTInstances with Serializable

    Permalink
  189. object Trampoline

    Permalink
  190. object Traverse

    Permalink
  191. object Traverse1

    Permalink
  192. object Tree extends TreeInstances

    Permalink
  193. object TreeLoc extends TreeLocInstances with Serializable

    Permalink
  194. object Unapply extends Unapply_0

    Permalink
  195. object Unapply2

    Permalink
  196. object Unapply21

    Permalink
  197. object UnapplyProduct

    Permalink
  198. object UnitReducer

    Permalink
  199. object Unwriter extends Serializable

    Permalink
  200. object UnwriterT extends UnwriterTInstances with UnwriterTFunctions with Serializable

    Permalink
  201. object Unzip

    Permalink
  202. object Validation extends ValidationInstances with Serializable

    Permalink
  203. object Value extends Serializable

    Permalink
  204. object Writer extends Serializable

    Permalink
  205. object WriterT extends WriterTInstances with WriterTFunctions with Serializable

    Permalink
  206. object Yoneda

    Permalink
  207. object Zap extends ZapInstances

    Permalink
  208. object Zip

    Permalink
  209. object Zipper extends ZipperInstances with Serializable

    Permalink
  210. object \&/ extends TheseInstances with Serializable

    Permalink
  211. object \/ extends DisjunctionInstances with Serializable

    Permalink
  212. object \/- extends Serializable

    Permalink
  213. implicit val idInstance: Traverse1[scalaz.Id.Id] with Monad[scalaz.Id.Id] with BindRec[scalaz.Id.Id] with Comonad[scalaz.Id.Id] with Distributive[scalaz.Id.Id] with Zip[scalaz.Id.Id] with Unzip[scalaz.Id.Id] with Align[scalaz.Id.Id] with Cozip[scalaz.Id.Id] with Optional[scalaz.Id.Id]

    Permalink
  214. package std

    Permalink

    Type Class instances for data structures in the Scala and Java standard libraries.

  215. package syntax

    Permalink

    Implicits to provide a convenient syntax to work with type classes and functions.

    Implicits to provide a convenient syntax to work with type classes and functions.

    Non-trivial code should *not* be defined in this package; instead delegate.

Inherited from AnyRef

Inherited from Any

Ungrouped