Cons

io.github.kelvindev15.prolog.core.PrologList.Cons
See theCons companion trait
object Cons

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Cons.type

Members list

Value members

Concrete methods

def apply(head: Term, tail: PrologList | Variable): PrologList

Returns an instance of Cons.

Returns an instance of Cons.

Value parameters

head

the head of the list.

tail

the tail of the list.

Attributes