Success

ammonite.util.Res.Success
case class Success[+T](s: T) extends Res[T]

Successes map and flatmap just like a simple Box[T]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Res[T]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def flatMap[V](f: T => Res[V]): Res[V]
def map[V](f: T => V): Res[V]

Inherited methods

def filter(f: T => Boolean): Res[T]

Attributes

Inherited from:
Res
final def isSuccess: Boolean

Attributes

Inherited from:
Res
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def withFilter(f: T => Boolean): Res[T]

Attributes

Inherited from:
Res