theory
/
it.unibo.tuprolog.theory
/
RetractResult
/
Failure
Failure
data class
Failure
<
T
:
Theory
>(theory:
T
) :
RetractResult
<
T
>
Content copied to clipboard
A failed "retract" operation result, carrying the unchanged
theory
Constructors
Properties
Constructors
Failure
Link copied to clipboard
fun <
T
:
Theory
>
Failure
(theory:
T
)
Content copied to clipboard
Properties
clauses
Link copied to clipboard
open override val
clauses
:
Nothing
?
Content copied to clipboard
firstClause
Link copied to clipboard
open override val
firstClause
:
Nothing
?
Content copied to clipboard
Gets the first successfully retracted clause
isFailure
Link copied to clipboard
open override val
isFailure
:
Boolean
Content copied to clipboard
isSuccess
Link copied to clipboard
open val
isSuccess
:
Boolean
Content copied to clipboard
theory
Link copied to clipboard
open override val
theory
:
T
Content copied to clipboard
The result always present value, is the clause database resulting from the operation execution