OptionFunctor

org.specs2.fp.Functor.OptionFunctor
object OptionFunctor extends Functor[Option]

Attributes

Graph
Supertypes
trait Functor[Option]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def map[A, B](fa: Option[A])(f: A => B): Option[B]

Inherited methods

def as[A, B](fa: Option[A])(b: => B): F[B]

Attributes

Inherited from:
Functor
def void[A](fa: Option[A]): F[Unit]

Attributes

Inherited from:
Functor
def xmap[A, B](fa: Option[A], f: A => B, g: B => A): F[B]

Attributes

Inherited from:
Functor