object Snoc extends SnocFunctions with Serializable
- Source
- Snoc.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Snoc
- Serializable
- SnocFunctions
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def apply[S, A](prism: Prism[S, (S, A)]): Snoc[S, A]
- implicit def chainSnoc[A]: Snoc[Chain[A], A]
- def fromIso[S, A, B](iso: Iso[S, A])(implicit ev: Snoc[A, B]): Snoc[S, B]
- implicit def lazyListSnoc[A]: Snoc[LazyList[A], A]
- implicit def listSnoc[A]: Snoc[List[A], A]
*********************************************************************************************
- implicit val stringSnoc: Snoc[String, Char]
- implicit def vectorSnoc[A]: Snoc[Vector[A], A]
Deprecated Value Members
- final def _snoc[S, A](init: S, last: A)(implicit ev: Snoc[S, A]): S
append an element to the end
append an element to the end
- Definition Classes
- SnocFunctions
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-M1) no replacement
- final def _unsnoc[S, A](s: S)(implicit ev: Snoc[S, A]): Option[(S, A)]
deconstruct an S between its init and last
deconstruct an S between its init and last
- Definition Classes
- SnocFunctions
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-M1) no replacement
- final def initOption[S, A](implicit ev: Snoc[S, A]): Optional[S, S]
- Definition Classes
- SnocFunctions
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-M1) no replacement
- final def lastOption[S, A](implicit ev: Snoc[S, A]): Optional[S, A]
- Definition Classes
- SnocFunctions
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-M1) no replacement
- final def snoc[S, A](implicit ev: Snoc[S, A]): Prism[S, (S, A)]
- Definition Classes
- SnocFunctions
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-M1) no replacement