abstract class Cons1[S, H, T] extends Serializable

Typeclass that defines an Iso between an S and its head H and tail T Cons1 is like Cons but for types that have *always* an head and tail, e.g. a non empty list

S

source of Iso

H

head of Iso target, A is supposed to be unique for a given S

T

tail of Iso target, T is supposed to be unique for a given S

Annotations
@implicitNotFound() @deprecated
Deprecated

(Since version 3.0.0-M1) no replacement

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

Instance Constructors

  1. new Cons1()

Abstract Value Members

  1. abstract def cons1: Iso[S, (H, T)]

Concrete Value Members

  1. def head: Lens[S, H]
  2. def tail: Lens[S, T]