object Snoc extends SnocFunctions with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Snoc
  2. Serializable
  3. SnocFunctions
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply[S, A](prism: Prism[S, (S, A)]): Snoc[S, A]
  2. implicit def chainSnoc[A]: Snoc[Chain[A], A]
  3. def fromIso[S, A, B](iso: Iso[S, A])(implicit ev: Snoc[A, B]): Snoc[S, B]

    lift an instance of Snoc using an Iso

  4. implicit def lazyListSnoc[A]: Snoc[LazyList[A], A]
  5. implicit def listSnoc[A]: Snoc[List[A], A]

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

  6. implicit val stringSnoc: Snoc[String, Char]
  7. implicit def vectorSnoc[A]: Snoc[Vector[A], A]

Deprecated Value Members

  1. 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

  2. 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

  3. 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

  4. 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

  5. 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