io.github.kelvindev15.prolog.core.PrologList
See thePrologList companion trait
object PrologList
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PrologList.type
Members list
Type members
Classlikes
object Cons
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 PrologListtrait RecursiveStructtrait Structtrait Termtrait Visitabletrait TermConvertibleclass Objecttrait Matchableclass AnyShow all
object Nil extends PrologList
Attributes
- Supertypes
-
trait PrologListtrait RecursiveStructtrait Structtrait Termtrait Visitabletrait TermConvertibleclass Objecttrait Matchableclass AnyShow all
- Self type
-
Nil.type
Value members
Concrete methods
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
In this article