List

data class List(val items: ValueList) : Value

A list, as [a, b] ([] the empty one)

Constructors

Link copied to clipboard
constructor(items: ValueList)

Properties

Link copied to clipboard

The items of the list (an array in JavaScript)

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