setArgs

abstract fun setArgs(vararg args: Term): Struct

Creates a novel Struct which is a copy of the current one, except that its args are replaced by args.

Return

a new Struct, whose functor equals the current one, and whose arguments are args


abstract fun setArgs(args: Iterable<Term>): Struct
abstract fun setArgs(args: Sequence<Term>): Struct

See also