Empty

object Empty extends EmptyFunctions
Companion
class
Source
Empty.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[S](prism: Prism[S, Unit]): Empty[S]
def fromIso[S, A](iso: Iso[S, A])(ev: Empty[A]): Empty[S]

lift an instance of Empty using an Iso

lift an instance of Empty using an Iso

Source
Empty.scala

Deprecated and Inherited methods

@deprecated("no replacement", since = "3.0.0-M1")
def _empty[S](ev: Empty[S]): S
Deprecated
[Since version 3.0.0-M1]
Inherited from
EmptyFunctions
Source
Empty.scala
@deprecated("no replacement", since = "3.0.0-M1")
def _isEmpty[S](s: S)(ev: Empty[S]): Boolean
Deprecated
[Since version 3.0.0-M1]
Inherited from
EmptyFunctions
Source
Empty.scala
@deprecated("no replacement", since = "3.0.0-M1")
def empty[S](ev: Empty[S]): Prism[S, Unit]
Deprecated
[Since version 3.0.0-M1]
Inherited from
EmptyFunctions
Source
Empty.scala

Implicits

Implicits

implicit def chainEmpty[A]: Empty[Chain[A]]
implicit def emptySet[A]: Empty[Set[A]]
implicit def lazyListEmpty[A]: Empty[LazyList[A]]
implicit def listEmpty[A]: Empty[List[A]]
implicit def mapEmpty[K, V]: Empty[Map[K, V]]
implicit def optionEmpty[A]: Empty[Option[A]]
implicit def sortedMapEmpty[K, V](ok: Order[K]): Empty[SortedMap[K, V]]
implicit val stringEmpty: Empty[String]
implicit def vectorEmpty[A]: Empty[Vector[A]]