Comparand

com.phasmidsoftware.lascala.parser.rpn.Comparand
See theComparand companion object
case class Comparand[X](xt: Try[X])(using evidence$1: Orderable[X]) extends Evaluable[X]

This class is similar to RPN but applies to Rule right-hand-sides that are Orderable whereas RPN applies when RHS is Valuable (in other words, an expression).

Type parameters

X

the underlying type

Value parameters

xt

the value of X wrapped in Try

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Evaluable[X]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def evaluate: Try[X]

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product