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

scalaz.syntax.std.OptionIdOps.scala Maven / Gradle / Ivy

package scalaz.syntax
package std

final class OptionIdOps[A](val self: A) extends AnyVal {
  def some: Option[A] = Some(self)
}

trait ToOptionIdOps {
  implicit def ToOptionIdOps[A](a: A) = new OptionIdOps(a)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy