Checkpoint
This commit is contained in:
parent
e3c84e1761
commit
e73e5cbfc8
32 changed files with 1354 additions and 92 deletions
|
@ -37,8 +37,8 @@ abstract class Clause(private val head: Head, private val body: Body) : Resolven
|
|||
|
||||
override fun toString(): String {
|
||||
return when {
|
||||
body == True() -> head.toString()
|
||||
else -> "$head :- $body"
|
||||
body is True -> head.toString()
|
||||
else -> "$head :- $body"
|
||||
}
|
||||
}
|
||||
}
|
Reference in a new issue