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

scalaz.syntax.MaybeOps.scala Maven / Gradle / Ivy

The newest version!
package scalaz
package syntax

final class MaybeOps[A](private val self: A) extends AnyVal {
  final def just: Maybe[A] = Maybe.just(self)
}

trait ToMaybeOps {
  implicit def ToMaybeOps[A](a: A): MaybeOps[A] = new MaybeOps(a)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy