monocle.function.Cons1
See theCons1 companion object
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
Attributes
- H
head of Iso target,
A
is supposed to be unique for a givenS
- S
source of Iso
- T
tail of Iso target,
T
is supposed to be unique for a givenS
- Companion:
- object
- Deprecated
[Since version 3.0.0-M1]
- Source:
- Cons1.scala
- Graph
- Supertypes
- trait Serializableclass Objecttrait Matchableclass Any