object lazylist extends LazyListInstances with LazyListFunctions
- Source
- LazyList.scala
- Alphabetic
- By Inheritance
- lazylist
- LazyListFunctions
- LazyListInstances
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def heads[A](as: LazyList[A]): LazyList[LazyList[A]]
[as take 1, as take 2, ..., as]
[as take 1, as take 2, ..., as]
- Definition Classes
- LazyListFunctions
- final def interleave[A](s1: LazyList[A], s2: LazyList[A]): LazyList[A]
- Definition Classes
- LazyListFunctions
- final def intersperse[A](as: LazyList[A], a: A): LazyList[A]
Intersperse the element
a
between each adjacent pair of elements inas
Intersperse the element
a
between each adjacent pair of elements inas
- Definition Classes
- LazyListFunctions
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def lazylistEqual[A](implicit A0: Equal[A]): Equal[LazyList[A]]
- Definition Classes
- LazyListInstances
- implicit val lazylistInstance: Traverse[LazyList] with MonadPlus[LazyList] with Alt[LazyList] with BindRec[LazyList] with Zip[LazyList] with Unzip[LazyList] with Align[LazyList] with IsEmpty[LazyList] with Cobind[LazyList]
- Definition Classes
- LazyListInstances
- implicit def lazylistMonoid[A]: Monoid[LazyList[A]]
- Definition Classes
- LazyListInstances
- implicit def lazylistOrder[A](implicit A0: Order[A]): Order[LazyList[A]]
- Definition Classes
- LazyListInstances
- implicit def lazylistShow[A](implicit A0: Show[A]): Show[LazyList[A]]
- Definition Classes
- LazyListInstances
- implicit val lazylistZipApplicative: Applicative[[α]TagKind.@@[LazyList[α], Tags.Zip]]
An alternative scalaz.Applicative instance for
LazyList
, discriminated by the type tag scalaz.Tags.Zip, that zips lazylists together.An alternative scalaz.Applicative instance for
LazyList
, discriminated by the type tag scalaz.Tags.Zip, that zips lazylists together.Example:
import scalaz.Tags.Zip lazylistZipApplicative.apply2(Zip(LazyList(1, 2)), Zip(LazyList(3, 4)))(_ * _) // LazyList(3, 8)
- Definition Classes
- LazyListInstances
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def tails[A](as: LazyList[A]): LazyList[LazyList[A]]
[as, as.tail, as.tail.tail, ..., LazyList(as.last)]
[as, as.tail, as.tail.tail, ..., LazyList(as.last)]
- Definition Classes
- LazyListFunctions
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def toZipper[A](as: LazyList[A]): Maybe[Zipper[A]]
- Definition Classes
- LazyListFunctions
- def unfold[A, B](seed: A)(f: (A) => Option[(B, A)]): LazyList[B]
- Definition Classes
- LazyListFunctions
- final def unfoldForest[A, B](as: LazyList[A])(f: (A) => (B, () => LazyList[A])): LazyList[Tree[B]]
- Definition Classes
- LazyListFunctions
- final def unfoldForestM[A, B, M[_]](as: LazyList[A])(f: (A) => M[(B, LazyList[A])])(implicit arg0: Monad[M]): M[LazyList[Tree[B]]]
- Definition Classes
- LazyListFunctions
- def unfoldm[A, B](seed: A)(f: (A) => Maybe[(B, A)]): LazyList[B]
- Definition Classes
- LazyListFunctions
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def zapp[A, B, C](a: LazyList[A])(f: LazyList[(A) => (B) => C]): LazyList[(B) => C]
- Definition Classes
- LazyListFunctions
- final def zipperEnd[A](as: LazyList[A]): Maybe[Zipper[A]]
- Definition Classes
- LazyListFunctions
- object lazylistSyntax extends ToLazyListOps