Snoc

@implicitNotFound("Could not find an instance of Snoc[${S},${A}], please check Monocle instance location policy to ".+("find out which import is necessary")) @deprecated("no replacement", since = "3.0.0-M1") abstract class Snoc[S, A] extends Serializable

Typeclass that defines a Prism between an S and its init S and last S

Typeclass that defines a Prism between an S and its init S and last S

Type Params
A

last of Prism target, A is supposed to be unique for a given S

S

source of Prism and init of Prism target

Companion
object
Deprecated
[Since version 3.0.0-M1]
Source
Snoc.scala
trait Serializable
class Object
trait Matchable
class Any

Value members

Abstract methods

def snoc: Prism[S, (S, A)]

Concrete methods

def initOption: Optional[S, S]
def lastOption: Optional[S, A]