addLast

abstract fun addLast(argument: Term): Struct

Creates a novel Struct which is a copy of the current one, expect that is has one more argument. The novel argument is appended at the end of the new Struct's arguments list.

Return

a new Struct, whose functor is equals to the current one, whose arity is greater than the current one, and whose last argument is argument

Parameters

argument

is a Term of any sort