IntRange

data class IntRange(val minInclusive: BigInteger, val maxInclusive: BigInteger) : FlagDomain

Constructors

Link copied to clipboard
constructor(minInclusive: BigInteger, maxInclusive: BigInteger)
constructor(min: Int, max: Int)
constructor(min: Term, max: Term)

Properties

Link copied to clipboard
val maxInclusive: BigInteger
Link copied to clipboard
val minInclusive: BigInteger

Functions

Link copied to clipboard
open operator override fun contains(value: Term): Boolean
Link copied to clipboard
inline fun <T> Iterable<T>.forEachWithLookahead(action: (T, Boolean) -> Unit)

Performs the given action on each element, giving a lookahead hint (i.e. if there's another element to process after).

Link copied to clipboard

Extracts every op/3 directive out of this collection of Clauses, converting each to an Operator.

Link copied to clipboard
open operator override fun iterator(): Iterator<Term>
Link copied to clipboard
fun <C : Clause> Iterable<C>.partition(unificator: Unificator = Unificator.default, staticByDefault: Boolean = true): ClausePartition

Partitions this collection of clauses into a ClausePartition, using unificator to match directive patterns.

Link copied to clipboard

Same as Sequence.toMapEnsuringNoDuplicates, for an Iterable.