Term

scalus.uplc.Term
See theTerm companion object
enum Term

Attributes

Companion
object
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Var
class LamAbs
class Apply
class Force
class Delay
class Const
class Builtin
Show all

Members list

Type members

Enum entries

final case class Apply(f: Term, arg: Term) extends Term
final case class Builtin(bn: DefaultFun) extends Term
final case class Case(arg: Term, cases: List[Term])
final case class Const(const: Constant) extends Term
final case class Constr(tag: Long, args: List[Term])
final case class Delay(term: Term) extends Term
case Error extends Term
final case class Force(term: Term) extends Term
final case class LamAbs(name: String, term: Term) extends Term
final case class Var(name: NamedDeBruijn) extends Term

Value members

Concrete methods

def eval: Term
Extension method from scalus
Extension method from scalus
def pretty: Doc
Extension method from scalus
def prettyXTerm: Doc
Extension method from scalus
def show: String
Extension method from scalus
def showHighlighted: String
Extension method from scalus