@implicitNotFound("Could not find an instance of Cons1[${S}, ${H}, ${T}], please check Monocle instance location policy to ".+("find out which import is necessary")) @deprecated("no replacement", since = "3.0.0-M1") 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
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
- Type Params
- Companion
- object
- Deprecated
[Since version 3.0.0-M1]
- Source
- Cons1.scala
trait Serializable
class Object
trait Matchable
class Any