commonMain.it.unibo.tuprolog.solve.stdlib.DefaultBuiltins.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of solve-streams-jvm Show documentation
Show all versions of solve-streams-jvm Show documentation
Experimental, functional-programming-based implementation of Prolog's SLDNF resolution principle
package it.unibo.tuprolog.solve.stdlib
import it.unibo.tuprolog.solve.Signature
import it.unibo.tuprolog.solve.library.AliasedLibrary
import it.unibo.tuprolog.solve.primitive.Primitive
import it.unibo.tuprolog.solve.stdlib.primitive.*
object DefaultBuiltins : AliasedLibrary by CommonBuiltins {
override val primitives: Map by lazy {
CommonBuiltins.primitives + sequenceOf(
Call,
Catch,
Conjunction,
Cut,
Throw,
Not
).map { it.descriptionPair }.toMap()
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy