Snoc1

object Snoc1 extends Snoc1Functions
Companion
class
Source
Snoc1.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[S, I, L](iso: Iso[S, (I, L)]): Snoc1[S, I, L]
def fromIso[S, A, I, L](iso: Iso[S, A])(ev: Snoc1[A, I, L]): Snoc1[S, I, L]

lift an instance of Snoc1 using an Iso

lift an instance of Snoc1 using an Iso

Source
Snoc1.scala

Deprecated and Inherited methods

@deprecated("no replacement", since = "3.0.0-M1")
final def _snoc1[S, I, L](init: I, last: L)(ev: Snoc1[S, I, L]): S

append an element to the end

append an element to the end

Deprecated
[Since version 3.0.0-M1]
Inherited from
Snoc1Functions
Source
Snoc1.scala
@deprecated("no replacement", since = "3.0.0-M1")
final def _unsnoc1[S, I, L](s: S)(ev: Snoc1[S, I, L]): (I, L)

deconstruct an S between its init and last

deconstruct an S between its init and last

Deprecated
[Since version 3.0.0-M1]
Inherited from
Snoc1Functions
Source
Snoc1.scala
@deprecated("no replacement", since = "3.0.0-M1")
final def init[S, I, L](ev: Snoc1[S, I, L]): Lens[S, I]
Deprecated
[Since version 3.0.0-M1]
Inherited from
Snoc1Functions
Source
Snoc1.scala
@deprecated("no replacement", since = "3.0.0-M1")
final def last[S, I, L](ev: Snoc1[S, I, L]): Lens[S, L]
Deprecated
[Since version 3.0.0-M1]
Inherited from
Snoc1Functions
Source
Snoc1.scala
@deprecated("no replacement", since = "3.0.0-M1")
final def snoc1[S, I, L](ev: Snoc1[S, I, L]): Iso[S, (I, L)]
Deprecated
[Since version 3.0.0-M1]
Inherited from
Snoc1Functions
Source
Snoc1.scala

Implicits

Implicits

implicit def necSnoc1[A]: Snoc1[Type[A], Chain[A], A]
implicit def nelSnoc1[A]: Snoc1[NonEmptyList[A], List[A], A]
implicit def nevSnoc1[A]: Snoc1[NonEmptyVector[A], Vector[A], A]
implicit def tuple2Snoc1[A1, A2]: Snoc1[(A1, A2), A1, A2]
implicit def tuple3Snoc1[A1, A2, A3]: Snoc1[(A1, A2, A3), (A1, A2), A3]
implicit def tuple4Snoc1[A1, A2, A3, A4]: Snoc1[(A1, A2, A3, A4), (A1, A2, A3), A4]
implicit def tuple5Snoc1[A1, A2, A3, A4, A5]: Snoc1[(A1, A2, A3, A4, A5), (A1, A2, A3, A4), A5]
implicit def tuple6Snoc1[A1, A2, A3, A4, A5, A6]: Snoc1[(A1, A2, A3, A4, A5, A6), (A1, A2, A3, A4, A5), A6]