scalaz

ListT

Related Docs: object ListT | package scalaz

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

ListT monad transformer.

Source
ListT.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ListT
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ListT(run: M[List[A]])

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def ++(bs: ⇒ ListT[M, A])(implicit M: Bind[M]): ListT[M, A]

  4. def ::(a: A)(implicit M: Functor[M]): ListT[M, A]

  5. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def drop(n: Int)(implicit M: Functor[M]): ListT[M, A]

  9. def dropWhile(p: (A) ⇒ Boolean)(implicit M: Functor[M]): ListT[M, A]

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def filter(p: (A) ⇒ Boolean)(implicit M: Functor[M]): ListT[M, A]

  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def flatMap[B](f: (A) ⇒ ListT[M, B])(implicit M: Monad[M]): ListT[M, B]

  14. def flatMapF[B](f: (A) ⇒ M[List[B]])(implicit M: Monad[M]): ListT[M, B]

  15. def foldLeft[B](z: ⇒ B)(f: (⇒ B, ⇒ A) ⇒ B)(implicit M: Functor[M]): M[B]

  16. def foldRight[B](z: ⇒ B)(f: (⇒ A, ⇒ B) ⇒ B)(implicit M: Functor[M]): M[B]

  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def headMaybe(implicit M: Functor[M]): MaybeT[M, A]

  19. def headOption(implicit M: Functor[M]): OptionT[M, A]

  20. def isEmpty(implicit M: Functor[M]): M[Boolean]

  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def length(implicit M: Functor[M]): M[Int]

  23. def map[B](f: (A) ⇒ B)(implicit M: Functor[M]): ListT[M, B]

  24. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  27. val run: M[List[A]]

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def tail(implicit M: Functor[M]): ListT[M, A]

    Don't use iteratively!

  30. def tailM(implicit M: Applicative[M]): M[ListT[M, A]]

  31. def take(n: Int)(implicit M: Functor[M]): ListT[M, A]

  32. def takeWhile(p: (A) ⇒ Boolean)(implicit M: Functor[M]): ListT[M, A]

  33. def toList: M[List[A]]

  34. def uncons(implicit M: Applicative[M]): M[Option[(A, ListT[M, A])]]

  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def head(implicit M: Functor[M]): M[A]

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) Head is deprecated. Use ListT#headOption instead

  2. def underlying: M[List[A]]

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1) Underlying is deprecated. Use run instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped