DeBruijn

scalus.uplc.DeBruijn
object DeBruijn

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
DeBruijn.type

Members list

Value members

Concrete methods

def deBruijnTerm(term: Term): Term

Converts a term with named variables to a term with De Bruijn indices. We use unique negative indices to represent free variables.

Converts a term with named variables to a term with De Bruijn indices. We use unique negative indices to represent free variables.

Value parameters

term

the term with named variables

Attributes

Returns

the term with De Bruijn indices

def fromDeBruijnTerm(term: Term): Term