scalaz

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.scalaz.std

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

Type Classes Index

Data Structures Index

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. scalaz
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

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

    A left disjunction

    A left disjunction

    Often used to represent the failure case of a result

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

    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.

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

    scalaz.Inject[F, G]

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

    scalaz.Inject[F, G]

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

    A scalaz.NaturalTransformation[G, F].

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

    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

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

  8. type @>[A, B] = LensFamily[A, A, B, B]

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

  10. type @@[T, Tag] = AnyRef { ... /* 2 definitions in type refinement */ }

    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.

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

    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 defition is either (unit, counit) or (leftAdjunct, rightAdjunct)

  12. trait AdjunctionFunctions extends AnyRef

  13. sealed abstract class AdjunctionInstances extends AnyRef

  14. trait Align[F[_]] extends Functor[F]

  15. sealed abstract class Alpha extends Product with Serializable

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

  16. trait AlphaFunctions extends AnyRef

  17. sealed abstract class AlphaInstances extends AnyRef

  18. type Alternative[F[_]] = ApplicativePlus[F]

  19. trait Applicative[F[_]] extends Apply[F]

    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

  20. trait ApplicativePlus[F[_]] extends Applicative[F] with PlusEmpty[F]

    scalaz.Applicative combined with scalaz.PlusEmpty.

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

    scalaz.Applicative without point.

  22. trait Arrow[=>:[_, _]] extends Split[=>:] with Profunctor[=>:] with Category[=>:]

    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.

  23. trait BKTreeFunctions extends AnyRef

  24. sealed abstract class BKTreeInstances extends AnyRef

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

    A constrained transformation natural in both sides of a bifunctor

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

    A function universally quantified over two parameters.

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

    A type giving rise to two unrelated scalaz.Foldables.

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

    A type giving rise to two unrelated scalaz.Functors.

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

  30. trait BijectionTFunctions extends AnyRef

  31. sealed abstract class BijectionTInstances extends BijectionTInstances0

  32. sealed abstract class BijectionTInstances0 extends AnyRef

  33. trait Bind[F[_]] extends Apply[F]

    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

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

    A type giving rise to two unrelated scalaz.Traverses.

  35. sealed abstract class CaseInsensitive[A] extends AnyRef

  36. sealed abstract class CaseInsensitiveInstances extends AnyRef

  37. trait Catchable[F[_]] extends AnyRef

    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.

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

    scalaz.Compose with identity.

  39. trait CharSetFunctions extends AnyRef

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

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

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

  43. sealed abstract class CodensityInstances extends AnyRef

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

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

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

  45. trait CofreeFunctions extends AnyRef

  46. sealed abstract class CofreeInstances extends CofreeInstances0

  47. sealed abstract class CofreeInstances0 extends CofreeInstances1

  48. sealed abstract class CofreeInstances1 extends CofreeInstances2

  49. sealed abstract class CofreeInstances2 extends CofreeInstances3

  50. sealed abstract class CofreeInstances3 extends CofreeInstances4

  51. sealed abstract class CofreeInstances4 extends AnyRef

  52. trait Cohoist[F[_[_], _]] extends ComonadTrans[F]

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

  54. trait CokleisliFunctions extends AnyRef

  55. sealed abstract class CokleisliInstances extends CokleisliInstances0

  56. sealed abstract class CokleisliInstances0 extends AnyRef

  57. trait Comonad[F[_]] extends Cobind[F]

  58. trait ComonadStore[F[_, _], S] extends Comonad[[x]F[S, x]]

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

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

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

  62. sealed trait ConstFunctions extends AnyRef

  63. sealed abstract class ConstInstances extends ConstInstances0

  64. sealed abstract class ConstInstances0 extends ConstInstances1

  65. sealed abstract class ConstInstances1 extends AnyRef

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

    A constrained natural transformation

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

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

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

    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

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

    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(identity)(o).unlift = o, further factoring can occur as follows, for free:

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

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

  71. sealed abstract class ContravariantCoyonedaInstances extends AnyRef

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

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

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

    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.\/.

  75. trait CoproductFunctions extends AnyRef

  76. sealed abstract class CoproductInstances extends CoproductInstances0

  77. sealed abstract class CoproductInstances0 extends CoproductInstances1

  78. sealed abstract class CoproductInstances1 extends CoproductInstances2

  79. sealed abstract class CoproductInstances2 extends CoproductInstances3

  80. sealed abstract class CoproductInstances3 extends AnyRef

  81. final case class Cord(self: FingerTree[Int, String]) extends Product with Serializable

    A Cord is a purely functional data structure for efficiently storing and manipulating Strings that are potentially very long.

    A Cord is a purely functional data structure for efficiently storing and manipulating Strings that are potentially very long. Very similar to Rope[Char], but with better constant factors and a simpler interface since it's specialized for Strings.

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

    Corepresentable functors

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

    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.

  84. sealed abstract class CoyonedaInstances extends CoyonedaInstances0

  85. sealed abstract class CoyonedaInstances0 extends CoyonedaInstances1

  86. sealed abstract class CoyonedaInstances1 extends CoyonedaInstances2

  87. sealed abstract class CoyonedaInstances10 extends AnyRef

  88. sealed abstract class CoyonedaInstances2 extends CoyonedaInstances3

  89. sealed abstract class CoyonedaInstances3 extends CoyonedaInstances4

  90. sealed abstract class CoyonedaInstances4 extends CoyonedaInstances5

  91. sealed abstract class CoyonedaInstances5 extends CoyonedaInstances6

  92. sealed abstract class CoyonedaInstances6 extends CoyonedaInstances7

  93. sealed abstract class CoyonedaInstances7 extends CoyonedaInstances8

  94. sealed abstract class CoyonedaInstances8 extends CoyonedaInstances9

  95. sealed abstract class CoyonedaInstances9 extends CoyonedaInstances10

  96. trait Cozip[F[_]] extends AnyRef

  97. final class DList[A] extends AnyRef

    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.

  98. trait DListFunctions extends AnyRef

  99. sealed abstract class DListInstances extends AnyRef

  100. trait DiNaturalTransformation[F[_, _], G[_, _]] extends AnyRef

  101. sealed abstract class Diev[A] extends AnyRef

    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.

  102. trait DievFunctions extends DievImplementation

  103. trait DievImplementation extends AnyRef

  104. sealed abstract class DievInstances extends DievImplementation

  105. sealed abstract class Digit extends Product with Serializable

    An algebraic data type representing the digits 0 - 9

  106. trait DigitFunctions extends AnyRef

  107. sealed abstract class DigitInstances extends AnyRef

  108. type Disjunction[+A, +B] = \/[A, B]

  109. trait DisjunctionFunctions extends AnyRef

  110. sealed abstract class DisjunctionInstances extends DisjunctionInstances0

  111. sealed abstract class DisjunctionInstances0 extends DisjunctionInstances1

  112. sealed abstract class DisjunctionInstances1 extends DisjunctionInstances2

  113. sealed abstract class DisjunctionInstances2 extends AnyRef

  114. trait Distributive[F[_]] extends Functor[F]

    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.

  115. trait DistributiveFunctions extends AnyRef

  116. sealed abstract class DualInstances extends DualInstances0

  117. sealed abstract class DualInstances0 extends AnyRef

  118. sealed abstract class Either3[+A, +B, +C] extends Product with Serializable

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

    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))
  120. trait EitherTFunctions extends AnyRef

  121. sealed abstract class EitherTInstances extends EitherTInstances0

  122. sealed abstract class EitherTInstances0 extends EitherTInstances1

  123. sealed abstract class EitherTInstances1 extends EitherTInstances2

  124. sealed abstract class EitherTInstances2 extends EitherTInstances3

  125. sealed abstract class EitherTInstances3 extends AnyRef

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

    Endomorphisms.

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

    run

    The captured function.

  127. trait EndoFunctions extends AnyRef

  128. sealed abstract class EndoInstances extends AnyRef

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

    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]

  130. trait EndomorphicFunctions extends AnyRef

  131. sealed abstract class EndomorphicInstances extends EndomorphicInstances0

  132. sealed abstract class EndomorphicInstances0 extends AnyRef

  133. trait Enum[F] extends Order[F]

    An scalaz.Orderable with discrete values.

  134. sealed abstract class EphemeralStream[A] extends AnyRef

    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.

  135. trait EphemeralStreamFunctions extends AnyRef

  136. sealed abstract class EphemeralStreamInstances extends AnyRef

  137. trait Equal[F] extends AnyRef

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

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

    See also

    scalaz.Equal.EqualLaw

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

  139. sealed abstract class Finger[V, A] extends AnyRef

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

    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 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

  141. trait FingerTreeFunctions extends AnyRef

  142. sealed abstract class FingerTreeInstances extends AnyRef

  143. type FirstMaybe[A] = AnyRef { ... /* 2 definitions in type refinement */ }

  144. type FirstOf[A] = AnyRef { ... /* 2 definitions in type refinement */ }

  145. type FirstOption[A] = AnyRef { ... /* 2 definitions in type refinement */ }

  146. trait FoldCase[A] extends AnyRef

  147. sealed abstract class FoldCaseInstances extends AnyRef

  148. trait Foldable[F[_]] extends AnyRef

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

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

    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.

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

    A universally quantified value

  151. trait Foralls extends AnyRef

  152. case class Four[V, A](v: V, a1: A, a2: A, a3: A, a4: A)(implicit r: Reducer[A, V]) extends Finger[V, A] with Product with Serializable

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

    A free operational monad for some functor S.

    A free operational monad for some functor S. Binding is done using the heap instead of the stack, allowing tail-call elimination.

  154. trait FreeFunctions extends AnyRef

  155. sealed abstract class FreeInstances extends FreeInstances0 with TrampolineInstances with SinkInstances with SourceInstances

  156. sealed abstract class FreeInstances0 extends FreeInstances1

  157. sealed abstract class FreeInstances1 extends FreeInstances2

  158. sealed abstract class FreeInstances2 extends FreeInstances3

  159. sealed abstract class FreeInstances3 extends AnyRef

  160. trait Functor[F[_]] extends InvariantFunctor[F]

    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

  161. trait Generator[C[_]] extends AnyRef

    A Generator[C] is a container of elements, and which knows how to efficiently apply a scalaz.Reducer to extract an answer by combining elements.

    A Generator[C] is a container of elements, and which 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.

  162. trait Generators extends AnyRef

  163. type GlorifiedTuple[+A, +B] = \/[A, B]

  164. sealed abstract class Heap[A] extends AnyRef

    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

  165. trait HeapFunctions extends AnyRef

  166. sealed abstract class HeapInstances extends AnyRef

  167. trait Hoist[F[_[_], _]] extends MonadTrans[F]

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

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

    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.

  170. sealed trait IListFunctions extends AnyRef

  171. sealed abstract class IListInstance0 extends AnyRef

  172. sealed abstract class IListInstances extends IListInstance0

  173. type IMap[A, B] = ==>>[A, B]

  174. final case class INil[A]() extends IList[A] with Product with Serializable

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

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

  177. sealed abstract class ISet[A] extends AnyRef

  178. sealed trait ISetFunctions extends AnyRef

  179. sealed abstract class ISetInstances extends AnyRef

  180. trait IdInstances extends AnyRef

    Mixed into object Id in the package object scalaz.

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

  182. trait IdTFunctions extends AnyRef

  183. sealed abstract class IdTInstances extends IdTInstances0

  184. sealed abstract class IdTInstances0 extends IdTInstances1

  185. sealed abstract class IdTInstances1 extends IdTInstances2

  186. sealed abstract class IdTInstances2 extends IdTInstances3

  187. sealed abstract class IdTInstances3 extends AnyRef

  188. sealed abstract class ImmutableArray[+A] extends AnyRef

    An immutable wrapper for arrays

    An immutable wrapper for arrays

    A

    type of the elements of the array

  189. trait ImmutableArrayFunctions extends AnyRef

  190. sealed abstract class ImmutableArrayInstances extends AnyRef

  191. final class IndSeq[A] extends AnyRef

    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).

  192. sealed abstract class IndSeqInstances extends AnyRef

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

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

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

  196. final class IndexedContsT[W[_], M[_], R, O, A] extends AnyRef

  197. trait IndexedContsTFunctions extends AnyRef

  198. abstract class IndexedContsTInstances extends IndexedContsTInstances0

  199. sealed abstract class IndexedContsTInstances0 extends AnyRef

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

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

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

  202. sealed abstract class IndexedReaderWriterStateTInstances extends AnyRef

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

  204. trait IndexedStateFunctions extends AnyRef

  205. trait IndexedStateT[F[_], -S1, S2, A] extends AnyRef

  206. trait IndexedStateTFunctions extends AnyRef

  207. sealed abstract class IndexedStateTInstances extends IndexedStateTInstances0

  208. sealed abstract class IndexedStateTInstances0 extends IndexedStateTInstances1

  209. sealed abstract class IndexedStateTInstances1 extends IndexedStateTInstances2

  210. sealed abstract class IndexedStateTInstances2 extends AnyRef

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

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

    See also

    scalaz.Lens

  213. trait IndexedStoreTFunctions extends AnyRef

  214. sealed abstract class IndexedStoreTInstances extends IndexedStoreTInstances0

  215. sealed abstract class IndexedStoreTInstances0 extends IndexedStoreTInstances1

  216. sealed abstract class IndexedStoreTInstances1 extends IndexedStoreTInstances2

  217. sealed abstract class IndexedStoreTInstances2 extends AnyRef

  218. sealed abstract class Inject[F[_], G[_]] extends AnyRef

    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

  219. trait InjectFunctions extends AnyRef

  220. sealed abstract class InjectInstances extends AnyRef

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

    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.

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

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

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

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

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

    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/

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

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

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

  228. trait IsomorphismApplicative[F[_], G[_]] extends Applicative[F] with IsomorphismApply[F, G]

  229. trait IsomorphismApplicativePlus[F[_], G[_]] extends ApplicativePlus[F] with IsomorphismEmpty[F, G] with IsomorphismApplicative[F, G]

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

  231. trait IsomorphismBifoldable[F[_, _], G[_, _]] extends Bifoldable[F]

  232. trait IsomorphismBifunctor[F[_, _], G[_, _]] extends Bifunctor[F]

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

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

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

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

  237. trait IsomorphismContravariant[F[_], G[_]] extends Contravariant[F]

  238. trait IsomorphismEmpty[F[_], G[_]] extends PlusEmpty[F] with IsomorphismPlus[F, G]

  239. trait IsomorphismEqual[F, G] extends Equal[F]

  240. trait IsomorphismFoldable[F[_], G[_]] extends Foldable[F]

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

  242. trait IsomorphismFunctor[F[_], G[_]] extends Functor[F]

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

  244. trait IsomorphismMonadPlus[F[_], G[_]] extends MonadPlus[F] with IsomorphismEmpty[F, G] with IsomorphismMonad[F, G]

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

  246. trait IsomorphismOptional[F[_], G[_]] extends Optional[F]

  247. trait IsomorphismOrder[F, G] extends Order[F]

  248. trait IsomorphismPlus[F[_], G[_]] extends Plus[F]

  249. trait IsomorphismSemigroup[F, G] extends Semigroup[F]

  250. trait IsomorphismShow[F, G] extends Show[F]

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

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

  253. sealed abstract class Isomorphisms extends IsomorphismsLow0

  254. sealed abstract class IsomorphismsLow0 extends IsomorphismsLow1

  255. sealed abstract class IsomorphismsLow1 extends AnyRef

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

    Represents a function A => M[B].

  257. trait KleisliFunctions extends AnyRef

  258. abstract class KleisliInstances extends KleisliInstances0

  259. sealed abstract class KleisliInstances0 extends KleisliInstances1

  260. sealed abstract class KleisliInstances1 extends KleisliInstances2

  261. sealed abstract class KleisliInstances2 extends KleisliInstances3

  262. sealed abstract class KleisliInstances3 extends KleisliInstances4

  263. sealed abstract class KleisliInstances4 extends KleisliInstances5

  264. sealed abstract class KleisliInstances5 extends KleisliInstances6

  265. sealed abstract class KleisliInstances6 extends KleisliInstances7

  266. sealed abstract class KleisliInstances7 extends KleisliInstances8

  267. sealed abstract class KleisliInstances8 extends AnyRef

  268. trait Konst[A] extends AnyRef

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

    The left Kan extension of H along G

  270. type LastMaybe[A] = AnyRef { ... /* 2 definitions in type refinement */ }

  271. type LastOf[A] = AnyRef { ... /* 2 definitions in type refinement */ }

  272. type LastOption[A] = AnyRef { ... /* 2 definitions in type refinement */ }

  273. sealed abstract class LazyEither[+A, +B] extends AnyRef

    scala.Either, but with a value by name.

  274. trait LazyEitherFunctions extends AnyRef

  275. sealed abstract class LazyEitherInstances extends AnyRef

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

  277. trait LazyEitherTFunctions extends AnyRef

  278. sealed abstract class LazyEitherTInstances extends LazyEitherTInstances0

  279. sealed abstract class LazyEitherTInstances0 extends LazyEitherTInstances1

  280. sealed abstract class LazyEitherTInstances1 extends AnyRef

  281. sealed abstract class LazyOption[+A] extends Product with Serializable

    scala.Option, but with a value by name.

  282. trait LazyOptionFunctions extends AnyRef

  283. sealed abstract class LazyOptionInstances extends AnyRef

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

  285. trait LazyOptionTFunctions extends AnyRef

  286. sealed abstract class LazyOptionTInstances extends LazyOptionTInstances0

  287. sealed abstract class LazyOptionTInstances0 extends LazyOptionTInstances1

  288. sealed abstract class LazyOptionTInstances1 extends AnyRef

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

    scala.Tuple2, but with values by name.

  290. sealed abstract class LazyTuple2Instances extends LazyTuple2Instances0

  291. sealed abstract class LazyTuple2Instances0 extends AnyRef

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

    scala.Tuple3, but with values by name.

  293. sealed abstract class LazyTuple3Instances extends LazyTuple3Instances0

  294. sealed abstract class LazyTuple3Instances0 extends AnyRef

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

    scala.Tuple4, but with values by name.

  296. sealed abstract class LazyTuple4Instances extends LazyTuple4Instances0

  297. sealed abstract class LazyTuple4Instances0 extends AnyRef

  298. trait LazyTupleFunctions extends AnyRef

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

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

    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.

  301. trait LeibnizFunctions extends AnyRef

  302. sealed abstract class LeibnizInstances extends AnyRef

  303. type Lens[A, B] = LensFamily[A, A, B, B]

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

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

    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

  305. trait LensFamilyFunctions extends AnyRef

  306. trait LensFunctions extends LensFamilyFunctions

  307. abstract class LensInstances extends LensInstances0

  308. sealed abstract class LensInstances0 extends AnyRef

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

    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.)

  310. trait LiskovFunctions extends AnyRef

  311. sealed abstract class LiskovInstances extends AnyRef

  312. final case class ListT[M[_], A](run: M[List[A]]) extends Product with Serializable

    ListT monad transformer.

  313. sealed abstract class ListTInstances extends ListTInstances1

  314. sealed abstract class ListTInstances1 extends ListTInstances2

  315. sealed abstract class ListTInstances2 extends AnyRef

  316. trait MapFunctions extends AnyRef

  317. sealed abstract class MapInstances extends MapInstances0

  318. sealed abstract class MapInstances0 extends AnyRef

  319. type MaxMaybe[A] = AnyRef { ... /* 2 definitions in type refinement */ }

  320. type MaxOf[A] = AnyRef { ... /* 2 definitions in type refinement */ }

  321. type MaxOption[A] = AnyRef { ... /* 2 definitions in type refinement */ }

  322. sealed abstract class Maybe[A] extends AnyRef

    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).

  323. sealed trait MaybeFunctions extends AnyRef

  324. sealed abstract class MaybeInstances extends AnyRef

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

    monad transformer for Maybe

  326. trait MaybeTFunctions extends AnyRef

  327. sealed abstract class MaybeTInstances extends MaybeTInstances0

  328. sealed abstract class MaybeTInstances0 extends MaybeTInstances1

  329. sealed abstract class MaybeTInstances1 extends MaybeTInstances2

  330. sealed abstract class MaybeTInstances2 extends AnyRef

  331. sealed trait Memo[K, V] extends AnyRef

    A function memoization strategy.

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

  332. trait MemoFunctions extends AnyRef

  333. sealed abstract class MemoInstances extends AnyRef

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

  335. type MinMaybe[A] = AnyRef { ... /* 2 definitions in type refinement */ }

  336. type MinOf[A] = AnyRef { ... /* 2 definitions in type refinement */ }

  337. type MinOption[A] = AnyRef { ... /* 2 definitions in type refinement */ }

  338. trait Monad[F[_]] extends Applicative[F] with Bind[F]

    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

  339. trait MonadError[F[_, _], E] extends Monad[[α]F[E, α]]

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

  341. trait MonadPartialOrder[G[_], F[_]] extends NaturalTransformation[F, G]

    This trait establishes a partial order among monads.

    This trait establishes a partial order among monads. A "bigger" monad is one that does all of the effects of the "smaller" as part of its execution.

  342. trait MonadPartialOrderFunctions extends MonadPartialOrderFunctions1

  343. sealed trait MonadPartialOrderFunctions1 extends AnyRef

  344. trait MonadPlus[F[_]] extends Monad[F] with ApplicativePlus[F]

  345. trait MonadReader[F[_, _], S] extends Monad[[x]F[S, x]]

  346. trait MonadState[F[_, _], S] extends Monad[[x]F[S, x]]

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

  347. trait MonadTell[F[_, _], W] extends Monad[[α]F[W, α]]

    The class of monads supporting write operations

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

    Class of monad transformers.

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

    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

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

    Call by name

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

    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.

  352. trait NaturalTransformations extends AnyRef

  353. sealed abstract class Need[+A] extends Name[A]

    Call by need

  354. sealed abstract class Node[V, A] extends AnyRef

  355. final class NonEmptyList[+A] extends AnyRef

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

  356. trait NonEmptyListFunctions extends AnyRef

  357. sealed abstract class NonEmptyListInstances extends NonEmptyListInstances0

  358. sealed abstract class NonEmptyListInstances0 extends AnyRef

  359. trait Nondeterminism[F[_]] extends Monad[F]

    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

  360. sealed trait NotNothing[A] extends AnyRef

  361. final class NullArgument[A, B] extends AnyRef

  362. trait NullArgumentFunctions extends AnyRef

  363. sealed abstract class NullArgumentInstances extends NullArgumentInstances0

  364. sealed abstract class NullArgumentInstances0 extends AnyRef

  365. final class NullResult[A, B] extends AnyRef

  366. trait NullResultFunctions extends AnyRef

  367. sealed abstract class NullResultInstances extends NullResultInstances0

  368. sealed abstract class NullResultInstances0 extends AnyRef

  369. case class One[V, A](v: V, a1: A)(implicit r: Reducer[A, V]) extends Finger[V, A] with Product with Serializable

  370. final case class OneAnd[F[_], A](head: A, tail: F[A]) extends Product with Serializable

    Since

    7.0.3

  371. trait OneAndFunctions extends AnyRef

  372. sealed abstract class OneAndInstances extends OneAndInstances0

  373. sealed abstract class OneAndInstances0 extends OneAndInstances1

  374. sealed abstract class OneAndInstances1 extends OneAndInstances2

  375. sealed abstract class OneAndInstances2 extends OneAndInstances3

  376. sealed abstract class OneAndInstances3 extends OneAndInstances4

  377. sealed abstract class OneAndInstances4 extends OneAndInstances5

  378. sealed abstract class OneAndInstances5 extends AnyRef

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

    Since

    7.0.3

  380. trait OneOrFunctions extends AnyRef

  381. sealed abstract class OneOrInstances extends OneOrInstances0

  382. sealed abstract class OneOrInstances0 extends OneOrInstances1

  383. sealed abstract class OneOrInstances1 extends OneOrInstances2

  384. sealed abstract class OneOrInstances2 extends OneOrInstances3

  385. sealed abstract class OneOrInstances3 extends OneOrInstances4

  386. sealed abstract class OneOrInstances4 extends OneOrInstances5

  387. sealed abstract class OneOrInstances5 extends OneOrInstances6

  388. sealed abstract class OneOrInstances6 extends AnyRef

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

    OptionT monad transformer.

  390. trait OptionTFunctions extends AnyRef

  391. sealed abstract class OptionTInstances extends OptionTInstances0

  392. sealed abstract class OptionTInstances0 extends OptionTInstances1

  393. sealed abstract class OptionTInstances1 extends OptionTInstances2

  394. sealed abstract class OptionTInstances2 extends AnyRef

  395. trait Optional[F[_]] extends AnyRef

    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

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

    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.

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

    Safer version of scala.math.Ordering.

  398. sealed abstract class Ordering extends AnyRef

    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.

  399. trait OrderingFunctions extends AnyRef

  400. sealed abstract class OrderingInstances extends AnyRef

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

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

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

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

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

    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

  405. trait PLensFamilyFunctions extends PLensInstances

  406. trait PLensFunctions extends PLensInstances with PLensFamilyFunctions

  407. abstract class PLensInstances extends AnyRef

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

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

  410. trait Plus[F[_]] extends AnyRef

    Universally quantified scalaz.Semigroup.

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

    Universally quantified scalaz.Monoid.

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

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

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

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

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

    The right Kan extension of H along G

  416. case class Ranked[A](rank: Int, value: A) extends Product with Serializable

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

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

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

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

  421. trait ReaderWriterStateTFunctions extends AnyRef

  422. abstract class ReaderWriterStateTInstances extends IndexedReaderWriterStateTInstances

  423. sealed abstract class Reducer[C, M] extends AnyRef

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

    A Reducer[C,M] is a scalaz.Monoid[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 Monoid 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 monoid.

    Minimal definition: unit or snoc

    Based on a Haskell library by Edward Kmett

  424. trait ReducerFunctions extends AnyRef

  425. sealed abstract class ReducerInstances extends AnyRef

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

    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.

  427. sealed abstract class RepresentableInstances extends AnyRef

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

  429. trait Semigroup[F] extends AnyRef

    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

  430. trait Show[F] extends AnyRef

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

  431. sealed trait SinkInstances extends AnyRef

  432. sealed trait SourceInstances extends AnyRef

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

    A scalaz.Compose (semigroupoid) permitting products.

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

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

  435. trait StateFunctions extends IndexedStateFunctions

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

  437. trait StateTFunctions extends IndexedStateTFunctions

  438. abstract class StateTInstances extends StateTInstances0

  439. sealed abstract class StateTInstances0 extends StateTInstances1

  440. sealed abstract class StateTInstances1 extends IndexedStateTInstances

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

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

  443. trait StoreTFunctions extends IndexedStoreTFunctions

  444. abstract class StoreTInstances extends StoreTInstances0

  445. sealed abstract class StoreTInstances0 extends StoreTInstances1

  446. sealed abstract class StoreTInstances1 extends StoreTInstances2

  447. sealed abstract class StoreTInstances2 extends IndexedStoreTInstances

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

    StreamT monad transformer.

  449. sealed abstract class StreamTInstances extends StreamTInstances0

  450. sealed abstract class StreamTInstances0 extends AnyRef

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

  452. trait TheseFunctions extends AnyRef

  453. sealed abstract class TheseInstances extends TheseInstances0

  454. sealed abstract class TheseInstances0 extends TheseInstances1

  455. sealed abstract class TheseInstances1 extends AnyRef

  456. case class Three[V, A](v: V, a1: A, a2: A, a3: A)(implicit r: Reducer[A, V]) extends Finger[V, A] with Product with Serializable

  457. sealed trait TrampolineInstances extends AnyRef

  458. trait Traverse[F[_]] extends Functor[F] with Foldable[F]

    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

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

    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.

  460. sealed abstract class Tree[A] extends AnyRef

    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].

  461. trait TreeFunctions extends AnyRef

  462. sealed abstract class TreeInstances extends AnyRef

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

    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.

  464. trait TreeLocFunctions extends AnyRef

  465. sealed abstract class TreeLocInstances extends AnyRef

  466. case class Two[V, A](v: V, a1: A, a2: A)(implicit r: Reducer[A, V]) extends Finger[V, A] with Product with Serializable

  467. trait Unapply[TC[_[_]], MA] extends AnyRef

    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
    // Requires the -Ydep-method-types flag to scalac with scala 2.9.x (not required with 2.10)
    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[({type ᅫᄏ[ᅫᄆ]=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( ... )
  468. trait Unapply2[TC[_[_, _]], MAB] extends AnyRef

  469. trait Unapply21[TC[_[_, _], _], MAB] extends AnyRef

  470. sealed trait Unapply2_0 extends AnyRef

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

  472. sealed trait Unapply_0 extends Unapply_1

  473. sealed trait Unapply_1 extends Unapply_2

  474. sealed trait Unapply_2 extends Unapply_3

  475. sealed trait Unapply_3 extends Unapply_4

  476. sealed trait Unapply_4 extends AnyRef

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

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

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

    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_-.

  480. trait UnwriterTFunctions extends AnyRef

  481. sealed abstract class UnwriterTInstances extends UnwriterTInstances0

  482. sealed abstract class UnwriterTInstances0 extends UnwriterTInstances1

  483. sealed abstract class UnwriterTInstances1 extends UnwriterTInstances2

  484. sealed abstract class UnwriterTInstances2 extends AnyRef

  485. trait Unzip[F[_]] extends AnyRef

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

    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[({type ᅫᄏ[ᅫᄆ]=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

  487. final class ValidationFlatMap[E, A] extends AnyRef

  488. trait ValidationFunctions extends AnyRef

  489. sealed abstract class ValidationInstances extends ValidationInstances0

  490. sealed abstract class ValidationInstances0 extends ValidationInstances1

  491. sealed abstract class ValidationInstances1 extends ValidationInstances2

  492. sealed abstract class ValidationInstances2 extends ValidationInstances3

  493. sealed abstract class ValidationInstances3 extends AnyRef

  494. type ValidationNel[+E, +X] = Validation[NonEmptyList[E], X]

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

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

    Useful for accumulating errors through the corresponding scalaz.Applicative instance.

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

    Call by value

  496. sealed abstract class ViewL[S[_], A] extends AnyRef

    View of the left end of a sequence.

  497. sealed abstract class ViewR[S[_], A] extends AnyRef

    View of the right end of a sequence.

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

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

  500. trait WriterTFunctions extends AnyRef

  501. sealed abstract class WriterTInstance5 extends WriterTInstances6

  502. sealed abstract class WriterTInstances extends WriterTInstances0

  503. sealed abstract class WriterTInstances0 extends WriterTInstances1

  504. sealed abstract class WriterTInstances1 extends WriterTInstances2

  505. sealed abstract class WriterTInstances10 extends WriterTInstances11

  506. sealed abstract class WriterTInstances11 extends WriterTInstances12

  507. sealed abstract class WriterTInstances12 extends AnyRef

  508. sealed abstract class WriterTInstances2 extends WriterTInstances3

  509. sealed abstract class WriterTInstances3 extends WriterTInstances4

  510. sealed abstract class WriterTInstances4 extends WriterTInstance5

  511. sealed abstract class WriterTInstances6 extends WriterTInstances7

  512. sealed abstract class WriterTInstances7 extends WriterTInstances8

  513. sealed abstract class WriterTInstances8 extends WriterTInstances9

  514. sealed abstract class WriterTInstances9 extends WriterTInstances10

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

    The free functor generated by F.

    The free 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.

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

    Functors that annihilate each other.

  517. sealed abstract class ZapInstances extends AnyRef

  518. trait Zip[F[_]] extends AnyRef

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

    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.

  520. trait ZipperFunctions extends AnyRef

  521. sealed abstract class ZipperInstances extends AnyRef

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

    Since

    7.0.3

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

    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, 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. 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.

  524. final case class \/-[+B](b: B) extends \/[Nothing, B] with Product with Serializable

    A right disjunction

    A right disjunction

    Often used to represent the success case of a result

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

  526. type |>=|[G[_], F[_]] = MonadPartialOrder[G, F]

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

    A scalaz.NaturalTransformation[F, G].

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

  529. type [A, B] = \/[A, B]

  530. type = Any

  531. type = Nothing

  532. sealed abstract class BKTree[A] extends Product with Serializable

    Burkhard-Keller trees provide an implementation of sets which apart from the ordinary operations also has an approximate member search, allowing you to search for elements that are of a distance n from the element you are searching for.

    Burkhard-Keller trees provide an implementation of sets which apart from the ordinary operations also has an approximate member search, allowing you to search for elements that are of a distance n from the element you are searching for. The distance is determined using a metric on the type of elements. Therefore all elements must implement the scalaz.MetricSpace type class, rather than the more usual scalaz.Ordering.

    The worst case complexity of many of these operations is quite bad, but the expected behavior varies greatly with the metric. For example, the discrete metric (distance x y | y == x = 0 | otherwise = 1) makes BK-trees behave abysmally. The metrics mentioned above should give good performance characteristics.

    This implementation is a port of Haskell's Data.Set.BKTree

    Annotations
    @deprecated
    Deprecated

    (Since version 7.0.1) This class depends on MetricSpace which is deprecated, too.

  533. final case class CharSet extends Product with Serializable

    Newtype for strings representing character sets.

    Newtype for strings representing character sets.

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) CharSet is deprecated

  534. type Cojoin[F[_]] = Cobind[F]

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) Cojoin has been merged into Cobind

  535. trait Each[F[_]] extends AnyRef

    Run a side effect once for each A in the F.

    Run a side effect once for each A in the F.

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) Each is deprecated

  536. trait Index[F[_]] extends AnyRef

    Random access through an integer index.

    Random access through an integer index.

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) Index is deprecated, use Foldable#index instead

  537. final class InsertionMap[K, V] extends AnyRef

    Returns a list in order of key insertion.

    Returns a list in order of key insertion.

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) InsertionMap is deprecated

  538. trait InsertionMapFunctions extends AnyRef

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) InsertionMap is deprecated

  539. sealed abstract class InsertionMapInstances extends AnyRef

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) InsertionMap is deprecated

  540. trait IsomorphismEach[F[_], G[_]] extends Each[F]

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) Each is deprecated

  541. trait IsomorphismIndex[F[_], G[_]] extends Index[F]

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) Index is deprecated, use Foldable instead

  542. trait Length[F[_]] extends AnyRef

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) Length is deprecated, use Foldable#length instead

  543. trait MetricSpace[F] extends AnyRef

    Useful metric spaces include the manhattan distance between two points, the Levenshtein edit distance between two strings, the number of edges in the shortest path between two nodes in an undirected graph and the Hamming distance between two binary strings.

    Useful metric spaces include the manhattan distance between two points, the Levenshtein edit distance between two strings, the number of edges in the shortest path between two nodes in an undirected graph and the Hamming distance between two binary strings. Any euclidean space also has a metric. However, in this module we use int-valued metrics and that's not compatible with the metrics of euclidean spaces which are real-values.

    Annotations
    @deprecated
    Deprecated

    (Since version 7.0.1) Redundant to spire's MetricSpace

    See also

    scalaz.BKTree

  544. sealed class Rope[A] extends Ops[FingerTreeIntPlus[ImmutableArray[A]]]

    Ropes or 'heavyweight Strings' are an alternative to Strings.

    Ropes or 'heavyweight Strings' are an alternative to Strings. In essence they are binary trees whose leaves are arrays of characters. Their advantage over ordinary strings is support for efficient concatenation and substring operations, which scale to long strings.

    They were first described in the paper: Ropes: an Alternative to Strings. by Hans-J. Boehm , Russ Atkinson , Michael Plass

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) Rope is deprecated. Use Cord instead

    See also

    http://citeseer.ist.psu.edu/viewdoc/download?doi=10.1.1.14.9450&rep=rep1&type=pdf

  545. final class RopeBuilder[A] extends Builder[A, Rope[A]]

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) Rope is deprecated. Use Cord instead

  546. sealed class RopeCharW extends Ops[Rope[Char]]

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) Rope is deprecated. Use Cord instead

  547. trait UnionTypes extends AnyRef

    Union types using Curry-Howard isomorphism

    Union types using Curry-Howard isomorphism

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) unboxed union types are deprecated

    See also

    http://en.wikipedia.org/wiki/Curry-Howard_correspondence

    http://www.chuusai.com/2011/06/09/scala-union-types-curry-howard/

  548. sealed class WrappedRope[A] extends Ops[Rope[A]] with IndexedSeq[A] with IndexedSeqLike[A, WrappedRope[A]]

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) Rope is deprecated. Use Cord instead

Value Members

  1. object :+:

  2. object ==>> extends MapInstances with MapFunctions

  3. object Adjunction extends AdjunctionInstances with AdjunctionFunctions

  4. object Align

  5. object Alpha extends AlphaInstances with AlphaFunctions with Serializable

  6. object Applicative

  7. object ApplicativePlus

  8. object Apply

  9. object Arrow

  10. object BKTree extends BKTreeInstances with BKTreeFunctions with Serializable

  11. object Bifoldable

  12. object Bifunctor

  13. object BijectionT extends BijectionTInstances with BijectionTFunctions

  14. object Bind

  15. object Bitraverse

  16. object BuildInfo extends Product with Serializable

  17. object CaseInsensitive extends CaseInsensitiveInstances

  18. object Catchable

  19. object Category

  20. object Choice

  21. object Cobind

  22. object Codensity extends CodensityInstances

  23. object Cofree extends CofreeInstances with CofreeFunctions

  24. object Cohoist

  25. object Cokleisli extends CokleisliInstances with CokleisliFunctions with Serializable

  26. object Comonad

  27. object ComonadStore

  28. object ComonadTrans

  29. object Compose

  30. object Const extends ConstInstances with ConstFunctions with Serializable

  31. object Cont extends IndexedContsTInstances with IndexedContsTFunctions

  32. object ContT extends IndexedContsTInstances with IndexedContsTFunctions

  33. object Contravariant

  34. object ContravariantCoyoneda extends ContravariantCoyonedaInstances

  35. object Conts extends IndexedContsTInstances with IndexedContsTFunctions

  36. object ContsT extends IndexedContsTInstances with IndexedContsTFunctions

  37. object Coproduct extends CoproductInstances with CoproductFunctions with Serializable

  38. object Cord extends Serializable

  39. object Coyoneda extends CoyonedaInstances

  40. object Cozip

  41. object DList extends DListInstances with DListFunctions

  42. object Diev extends DievInstances with DievFunctions

  43. object DievInterval

  44. object Digit extends DigitInstances with DigitFunctions with Serializable

  45. object Distributive extends DistributiveFunctions

  46. object Dual extends DualInstances

  47. object Either3 extends Serializable

  48. object EitherT extends EitherTInstances with EitherTFunctions with Serializable

  49. object Endo extends EndoInstances with EndoFunctions with Serializable

  50. object Endomorphic extends EndomorphicInstances with EndomorphicFunctions with Serializable

  51. object Enum

  52. object EphemeralStream extends EphemeralStreamInstances with EphemeralStreamFunctions

  53. object Equal

  54. object FingerTree extends FingerTreeInstances with FingerTreeFunctions

  55. object FoldCase extends FoldCaseInstances

  56. object Foldable

  57. object Foldable1

  58. object Forall extends Foralls

  59. object Free extends FreeInstances with FreeFunctions

  60. object Functor

  61. object Generator extends Generators

  62. object Heap extends HeapInstances with HeapFunctions

  63. object Hoist

  64. object IList extends IListInstances with IListFunctions with Serializable

  65. val IMap: ==>>.type

  66. val IRWS: IndexedReaderWriterState.type

  67. val IRWST: IndexedReaderWriterStateT.type

  68. object ISet extends ISetInstances with ISetFunctions

  69. object Id extends IdInstances

  70. object IdT extends IdTInstances with IdTFunctions with Serializable

  71. object ImmutableArray extends ImmutableArrayInstances with ImmutableArrayFunctions

  72. object IndSeq extends IndSeqInstances

  73. object IndexedCont extends IndexedContsTInstances with IndexedContsTFunctions

  74. object IndexedContT extends IndexedContsTInstances with IndexedContsTFunctions

  75. object IndexedConts extends IndexedContsTInstances with IndexedContsTFunctions

  76. object IndexedContsT extends IndexedContsTInstances with IndexedContsTFunctions

  77. object IndexedReaderWriterState extends ReaderWriterStateTInstances with ReaderWriterStateTFunctions

  78. object IndexedReaderWriterStateT extends ReaderWriterStateTInstances with ReaderWriterStateTFunctions

  79. object IndexedState extends StateFunctions

  80. object IndexedStateT extends StateTInstances with StateTFunctions

  81. object IndexedStore extends Serializable

  82. object IndexedStoreT extends StoreTInstances with StoreTFunctions with Serializable

  83. object Inject extends InjectInstances with InjectFunctions

  84. object Injectivity

  85. object InvariantFunctor

  86. object IsEmpty

  87. object Isomorphism extends Isomorphisms

  88. object Kleisli extends KleisliInstances with KleisliFunctions with Serializable

  89. object Lan

  90. object LazyEither extends LazyEitherInstances with LazyEitherFunctions

  91. object LazyEitherT extends LazyEitherTInstances with LazyEitherTFunctions with Serializable

  92. object LazyOption extends LazyOptionInstances with LazyOptionFunctions with Serializable

  93. object LazyOptionT extends LazyOptionTInstances with LazyOptionTFunctions with Serializable

  94. object LazyTuple extends LazyTupleFunctions

  95. object LazyTuple2 extends LazyTuple2Instances

  96. object LazyTuple3 extends LazyTuple3Instances

  97. object LazyTuple4 extends LazyTuple4Instances

  98. object Leibniz extends LeibnizInstances with LeibnizFunctions

  99. object Lens extends LensInstances with LensFunctions

  100. object LensFamily extends LensInstances with LensFunctions

  101. object Liskov extends LiskovInstances with LiskovFunctions

  102. object ListT extends ListTInstances with Serializable

  103. object Maybe extends MaybeInstances with MaybeFunctions

  104. object MaybeT extends MaybeTInstances with MaybeTFunctions with Serializable

  105. object Memo extends MemoInstances with MemoFunctions

  106. object MetricSpace

  107. object Monad

  108. object MonadError

  109. object MonadListen

  110. object MonadPartialOrder extends MonadPartialOrderFunctions

  111. object MonadPlus

  112. object MonadReader

  113. object MonadState

  114. object MonadTell

  115. object MonadTrans

  116. object Monoid

  117. object Name

  118. object NaturalTransformation extends NaturalTransformations

  119. object Need

  120. object NonEmptyList extends NonEmptyListInstances with NonEmptyListFunctions

  121. object Nondeterminism

  122. object NotNothing

  123. object NullArgument extends NullArgumentInstances with NullArgumentFunctions

  124. object NullResult extends NullResultInstances with NullResultFunctions

  125. object OneAnd extends OneAndInstances with OneAndFunctions with Serializable

  126. object OneOr extends OneOrInstances with OneOrFunctions with Serializable

  127. object OptionT extends OptionTInstances with OptionTFunctions with Serializable

  128. object Optional

  129. object OrdSeq

  130. object Order

  131. object Ordering extends OrderingInstances with OrderingFunctions

  132. object PLens extends PLensInstances with PLensFunctions

  133. object PLensFamily extends PLensInstances with PLensFunctions

  134. object Plus

  135. object PlusEmpty

  136. object Profunctor

  137. val RWS: ReaderWriterState.type

  138. val RWST: ReaderWriterStateT.type

  139. object Ran

  140. object Reader extends Serializable

  141. object ReaderWriterState extends ReaderWriterStateTInstances with ReaderWriterStateTFunctions

  142. object ReaderWriterStateT extends ReaderWriterStateTInstances with ReaderWriterStateTFunctions

  143. object Reducer extends ReducerInstances with ReducerFunctions

  144. object Representable extends RepresentableInstances

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

  146. object Semigroup

  147. object Show

  148. object Sink extends SinkInstances

  149. object Source extends SourceInstances

  150. object Split

  151. object State extends StateFunctions

  152. object StateT extends StateTInstances with StateTFunctions

  153. object Store extends Serializable

  154. object StoreT extends StoreTInstances with StoreTFunctions with Serializable

  155. object StreamT extends StreamTInstances

  156. object Tag

  157. object Tags

    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 .

  158. object Trampoline extends TrampolineInstances

  159. object Traverse

  160. object Traverse1

  161. object Tree extends TreeInstances with TreeFunctions

  162. object TreeLoc extends TreeLocInstances with TreeLocFunctions with Serializable

  163. object Unapply extends Unapply_0

  164. object Unapply2 extends Unapply2_0

  165. object Unapply21

  166. object UnapplyProduct

  167. object UnitReducer

  168. object Unwriter extends Serializable

  169. object UnwriterT extends UnwriterTInstances with UnwriterTFunctions with Serializable

  170. object Unzip

  171. object Validation extends ValidationInstances with ValidationFunctions with Serializable

  172. object Value extends Serializable

  173. object Writer extends Serializable

  174. object WriterT extends WriterTInstances with WriterTFunctions with Serializable

  175. object Yoneda

  176. object Zap extends ZapInstances

  177. object Zip

  178. object Zipper extends ZipperInstances with ZipperFunctions with Serializable

  179. object \&/ extends TheseInstances with TheseFunctions with Serializable

  180. object \/ extends DisjunctionInstances with DisjunctionFunctions with Serializable

  181. implicit val idInstance: Traverse1[scalaz.Id.Id] with Each[scalaz.Id.Id] with Monad[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]

  182. package std

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

  183. package syntax

    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.

Deprecated Value Members

  1. object CharSet extends CharSetFunctions with Serializable

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) CharSet is deprecated

  2. val Cojoin: Cobind.type

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) Cojoin has been merged into Cobind

  3. object Each

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) Each is deprecated

  4. object Index

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) Index is deprecated, use Foldable#index instead

  5. object InsertionMap extends InsertionMapInstances with InsertionMapFunctions

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) InsertionMap is deprecated

  6. object Length

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) Length is deprecated, use Foldable#length instead

  7. object Rope

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) Rope is deprecated. Use Cord instead

  8. object UnionTypes extends UnionTypes

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) unboxed union types are deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped