abstract class Snoc1[S, I, L] extends Serializable

Typeclass that defines an Iso between an S and its init H and last T Snoc1 is like Snoc but for types that have *always* an init and a last element, e.g. a non empty list

S

source of Iso

I

init of Iso target, I is supposed to be unique for a given S

L

last of Iso target, L is supposed to be unique for a given S

Annotations
@implicitNotFound() @deprecated
Deprecated

(Since version 3.0.0-M1) no replacement

Source
Snoc1.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Snoc1
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Snoc1()

Abstract Value Members

  1. abstract def snoc1: Iso[S, (I, L)]

Concrete Value Members

  1. def init: Lens[S, I]
  2. def last: Lens[S, L]