Struct

data class Struct(val functor: String, val args: ValueList) : Value

A compound term, as f(a, b) or -a

Constructors

Link copied to clipboard
constructor(functor: String, args: ValueList)

Properties

Link copied to clipboard

The arguments of the term (an array in JavaScript)

Link copied to clipboard
Link copied to clipboard
val arity: Int
Link copied to clipboard
Link copied to clipboard
open override val kind: String

What the value is: atom, integer, real, variable, list or struct

Functions

Link copied to clipboard
open override fun toString(): String

The value as Prolog text, written with the operators of arg2p