t

monocle.function

ConsFunctions

trait ConsFunctions extends AnyRef

Source
Cons.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConsFunctions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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

    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

    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)]
    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]
    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]
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0-M1) no replacement