object Cons extends ConsFunctions with Serializable

Source
Cons.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cons
  2. Serializable
  3. ConsFunctions
  4. AnyRef
  5. 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, B](prism: Prism[S, (B, S)]): Cons[S, B]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. implicit def chainCons[A]: Cons[Chain[A], A]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. def fromIso[S, A, B](iso: Iso[S, A])(implicit ev: Cons[A, B]): Cons[S, B]

    lift an instance of Cons using an Iso

  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. implicit def lazyListCons[A]: Cons[LazyList[A], A]
  16. implicit def listCons[A]: Cons[List[A], A]

    *********************************************************************************************

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. implicit val stringCons: Cons[String, Char]
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. implicit def vectorCons[A]: Cons[Vector[A], A]
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. final def _cons[S, A](head: A, tail: S)(implicit ev: Cons[S, A]): S

    append an element to the head

    append an element to the head

    Definition Classes
    ConsFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0-M1) no replacement

  2. final def _uncons[S, A](s: S)(implicit ev: Cons[S, A]): Option[(A, S)]

    deconstruct an S between its head and tail

    deconstruct an S between its head and tail

    Definition Classes
    ConsFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0-M1) no replacement

  3. final def cons[S, A](implicit ev: Cons[S, A]): Prism[S, (A, S)]
    Definition Classes
    ConsFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0-M1) no replacement

  4. final def headOption[S, A](implicit ev: Cons[S, A]): Optional[S, A]
    Definition Classes
    ConsFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0-M1) use index(0)

  5. final def tailOption[S, A](implicit ev: Cons[S, A]): Optional[S, S]
    Definition Classes
    ConsFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0-M1) no replacement

Inherited from Serializable

Inherited from ConsFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped