object Cons extends ConsFunctions with Serializable
- Source
- Cons.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Cons
- Serializable
- ConsFunctions
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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
- def apply[S, A, B](prism: Prism[S, (B, S)]): Cons[S, B]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit def chainCons[A]: Cons[Chain[A], A]
- 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])
- def fromIso[S, A, B](iso: Iso[S, A])(implicit ev: Cons[A, B]): Cons[S, B]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def lazyListCons[A]: Cons[LazyList[A], A]
- implicit def listCons[A]: Cons[List[A], A]
*********************************************************************************************
- 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()
- implicit val stringCons: Cons[String, Char]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit def vectorCons[A]: Cons[Vector[A], A]
- 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()
Deprecated Value Members
- 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
- 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
- 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
- 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)
- 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