Packages

object CorecursiveList extends CorecursiveListInstances

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CorecursiveList
  2. CorecursiveListInstances
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[S, A](init: S)(step: (S) => Maybe[(S, A)]): CorecursiveList[A]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def cons[A](a: A, fa: CorecursiveList[A]): CorecursiveList[A]

    A frightfully inefficient way to add elements to the beginning of a corecursive list.

    A frightfully inefficient way to add elements to the beginning of a corecursive list. It is correct, and reasonable enough for one-or-two-time use on a particular list, but be warned that iterative cons is necessarily a very inefficient way to build up a CorecursiveList.

    You can see why by taking a look at its choice of state. cons adds a Maybe to the state of the tail list, so if you cons four elements onto someCList, its state will be Maybe[Maybe[Maybe[Maybe[someCList.S]]]], and so on. This is utterly unsustainable for iterative consing.

    Instead, try apply, or another more wholemeal-style combinator. You might also cons up a different structure, then transform that to a CorecursiveList wholesale and append or plus it on; that's reasonably efficient, too.

  8. implicit val covariantInstance: MonadPlus[CorecursiveList] with Alt[CorecursiveList] with Foldable[CorecursiveList] with IsEmpty[CorecursiveList] with Align[CorecursiveList] with Zip[CorecursiveList]
  9. val ephemeralStreamIso: Isomorphism.<~>[EphemeralStream, CorecursiveList]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. implicit def equalInstance[A](implicit arg0: Equal[A]): Equal[CorecursiveList[A]]
    Definition Classes
    CorecursiveListInstances
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. def fromLazyList[A](s: LazyList[A]): CorecursiveList[A]
  15. val fromList: ~>[LinearSeq, CorecursiveList]

    Any LinearSeq converts to a CorecursiveList efficiently.

    Any LinearSeq converts to a CorecursiveList efficiently. No natural transformation from CorecursiveList to List exists, because representation of infinite lists is not guaranteed. Use streamIso for such cases instead.

  16. val fromVector: ~>[IndexedSeq, CorecursiveList]

    Any IndexedSeq converts to a CorecursiveList efficiently.

    Any IndexedSeq converts to a CorecursiveList efficiently. No natural transformation from CorecursiveList to Vector exists, because representation of infinite lists is not guaranteed. Use streamIso for such cases instead.

  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val lazyListIso: Isomorphism.<~>[LazyList, CorecursiveList]
  21. implicit def monoidInstance[A]: Monoid[CorecursiveList[A]]
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. implicit def orderInstance[A](implicit arg0: Order[A]): Order[CorecursiveList[A]]
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped