addFirst

abstract fun addFirst(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 beginning 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 first argument is argument

Parameters

argument

is a Term of any sort