scalaz.FirstOption.scala Maven / Gradle / Ivy
The newest version!
package scalaz
trait FirstOption[A] extends NewType[Option[A]]
trait FirstOptions {
implicit def FirstOptionTo[A](a: Option[A]): FirstOption[A] = new FirstOption[A] {
val value = a
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy