Res

ammonite.util.Res
See theRes companion object
sealed abstract class Res[+T]

The result of a single pass through the ammonite REPL. Results in a single T, or of one of a fixed number of failures that are common for anyone who is evaluating code via the REPL.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Failing
class Exception
class Exit
class Failure
object Skip
class Success[T]
Show all

Members list

Value members

Abstract methods

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

Concrete methods

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