Cons1Functions

monocle.function.Cons1Functions

Attributes

Source:
Cons1.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Cons1.type
object Monocle.type
object all.type

Members list

Concise view

Value members

Deprecated methods

final def _cons1[S, H, T](head: H, tail: T)(implicit ev: Cons1[S, H, T]): S

append an element to the head

append an element to the head

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
Cons1.scala
final def _uncons1[S, H, T](s: S)(implicit ev: Cons1[S, H, T]): (H, T)

deconstruct an S between its head and tail

deconstruct an S between its head and tail

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
Cons1.scala
final def cons1[S, H, T](implicit ev: Cons1[S, H, T]): Iso[S, (H, T)]

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
Cons1.scala
final def head[S, H, T](implicit ev: Cons1[S, H, T]): Lens[S, H]

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
Cons1.scala
final def tail[S, H, T](implicit ev: Cons1[S, H, T]): Lens[S, T]

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
Cons1.scala