LazyListInstances

class Object
trait Matchable
class Any
object Scalaz
object lazylist

Implicits

Implicits

implicit
def lazylistEqual[A](implicit A0: Equal[A]): Equal[LazyList[A]]
implicit
val lazylistInstance: Traverse[LazyList] & MonadPlus[LazyList] & Alt[LazyList] & BindRec[LazyList] & Zip[LazyList] & Unzip[LazyList] & Align[LazyList] & IsEmpty[LazyList] & Cobind[LazyList]
implicit
def lazylistMonoid[A]: Monoid[LazyList[A]]
implicit
def lazylistOrder[A](implicit A0: Order[A]): Order[LazyList[A]]
implicit
def lazylistShow[A](implicit A0: Show[A]): Show[LazyList[A]]
implicit
val lazylistZipApplicative: Applicative[[α] =>> LazyList[α] @@ 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)