commonMain.it.unibo.tuprolog.solve.directives.ClausePartitionExtensions.kt Maven / Gradle / Ivy
package it.unibo.tuprolog.solve.directives
operator fun ClausePartition?.plus(other: ClausePartition?): ClausePartition? =
when {
this == null && other == null -> null
this == null -> other
other == null -> this
else -> this + other
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy