Term

scalus.uplc.Term
See theTerm companion enum
object Term

Attributes

Companion
enum
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Term.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def alphaEq(t1: Term, t2: Term): Boolean
def lam(names: String*)(term: Term): Term
def vr(name: String): Term
def λ(names: String*)(term: Term): Term
def λλ(name: String)(f: Term => Term): Term

Extensions

Extensions

extension [A](a: A)
def asTerm: Term
extension (sc: StringContext)
def vr(args: Any*): Term

Creates a variable term.

Creates a variable term.

Value parameters

args

the arguments

Attributes

Example
 val idx = 0
 vr"foo${idx}" == Var(NamedDeBruijn("foo0"))