Value

sbt.internal.util.complete.Parser.Value
final case class Value[+T](value: T) extends Result[T]

Attributes

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

Members list

Value members

Concrete methods

def &&(b: => Result[_]): Result[T]
def app[B, C](b: => Result[B])(f: (T, B) => C): Result[C]
def either[B](b: => Result[B]): Result[Either[T, B]]
def errors: Seq[String]
def filter(f: T => Boolean, msg: => String): Result[T]
def flatMap[B](f: T => Result[B]): Result[B]
def isFailure: Boolean
def isValid: Boolean
def map[B](f: T => B): Result[B]
def or[B >: T](b: => Result[B]): Result[B]
def toEither: Either[() => Seq[String], T]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def seq[B](b: => Result[B]): Result[(T, B)]

Attributes

Inherited from:
Result