Checkpoint
This commit is contained in:
parent
39c3af4ba5
commit
da21d890fb
39 changed files with 1166 additions and 48 deletions
13
src/prolog/components/terms/Head.kt
Normal file
13
src/prolog/components/terms/Head.kt
Normal file
|
@ -0,0 +1,13 @@
|
|||
package prolog.components.terms
|
||||
|
||||
import prolog.components.Functor
|
||||
|
||||
/**
|
||||
* Part of a [Clause][prolog.components.expressions.Clause] before the [neck][prolog.terms.Neck] operator.
|
||||
*
|
||||
* @see [Atom]
|
||||
* @see [CompoundTerm]
|
||||
*/
|
||||
abstract class Head: Term {
|
||||
abstract val functor: Functor
|
||||
}
|
Reference in a new issue