All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.it.unibo.tuprolog.solve.library.impl.LibraryImpl.kt Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
package it.unibo.tuprolog.solve.library.impl

import it.unibo.tuprolog.core.Clause
import it.unibo.tuprolog.core.operators.OperatorSet
import it.unibo.tuprolog.solve.Signature
import it.unibo.tuprolog.solve.function.LogicFunction
import it.unibo.tuprolog.solve.library.Library
import it.unibo.tuprolog.solve.primitive.Primitive

/**
 * Default implementation class of [Library]
 *
 * @author Enrico
 */
internal data class LibraryImpl(
    override val alias: String,
    override val operators: OperatorSet,
    override val clauses: List,
    override val primitives: Map,
    override val functions: Map,
) : AbstractLibrary() {
    init {
        require(alias.isNotBlank())
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy