scalaz.syntax.MaybeOps.scala Maven / Gradle / Ivy
package scalaz
package syntax
final class MaybeOps[A](val self: A) extends AnyVal {
final def just: Maybe[A] = Maybe.just(self)
}
trait ToMaybeOps {
implicit def ToMaybeOps[A](a: A) = new MaybeOps(a)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy