We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f77ab6 commit 5037adfCopy full SHA for 5037adf
src/logicalpy/normal_forms.py
@@ -36,6 +36,9 @@ def __str__(self):
36
return str(self.literals[0])
37
else:
38
return "◻"
39
+
40
+ def __repr__(self) -> str:
41
+ return f"DisjunctiveClause({", ".join([repr(literal) for literal in self.literals])})"
42
43
def __eq__(self, other):
44
if isinstance(other, DisjunctiveClause):
@@ -83,6 +86,9 @@ def __str__(self):
83
86
84
87
85
88
89
90
91
+ return f"ConjunctiveClause({", ".join([repr(literal) for literal in self.literals])})"
92
93
94
if isinstance(other, ConjunctiveClause):
0 commit comments