trait ConsFunctions extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- ConsFunctions
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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
- 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
- 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)]
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-M1) no replacement
- final def headOption[S, A](implicit ev: Cons[S, A]): Optional[S, A]
- 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]
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-M1) no replacement