All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scalaz.NotNothing.scala Maven / Gradle / Ivy

package scalaz

sealed trait NotNothing[A]

object NotNothing {
  implicit def isNotNothing[A]: NotNothing[A] = new NotNothing[A] {}
  implicit def isNothingAmb1: NotNothing[Nothing] = sys.error("ambiguous NotNothing implicit was used")
  implicit def isNothingAmb2: NotNothing[Nothing] = sys.error("ambiguous NotNothing implicit was used")
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy