PrologList

io.github.kelvindev15.prolog.core.PrologList
See thePrologList companion trait
object PrologList

Attributes

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

Members list

Type members

Classlikes

object Cons

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Cons.type
trait Cons extends PrologList

A Prolog list, comprises a head and a tail.

A Prolog list, comprises a head and a tail.

Attributes

Companion
object
Supertypes
trait PrologList
trait Struct
trait Term
trait Visitable
class Object
trait Matchable
class Any
Show all
object Nil extends PrologList

Attributes

Supertypes
trait PrologList
trait Struct
trait Term
trait Visitable
class Object
trait Matchable
class Any
Show all
Self type
Nil.type

Value members

Concrete methods

def apply(elements: Term*): PrologList

Returns an instance of PrologList.

Returns an instance of PrologList.

Value parameters

elements

the elements to include in the list.

Attributes

Givens

Givens

Extensions

Extensions

extension (listTerminator: PrologList | Variable)

Returns all arguments of the list in a sequence.

Returns all arguments of the list in a sequence.

Attributes