Success

data class Success<T : Theory>(val theory: T, val clauses: Iterable<<ERROR CLASS>>) : RetractResult<T>

A successful "retract" operation result, carrying the new theory and removed clauses

Constructors

Link copied to clipboard
fun <T : Theory> Success(theory: T, clauses: Iterable<<ERROR CLASS>>)

Properties

Link copied to clipboard
open override val clauses: Iterable<<ERROR CLASS>>
Link copied to clipboard
open override val firstClause: <ERROR CLASS>

Gets the first successfully retracted clause

Link copied to clipboard
open val isFailure: Boolean
Link copied to clipboard
open override val isSuccess: Boolean
Link copied to clipboard
open override val theory: T

The result always present value, is the clause database resulting from the operation execution