Skip to content

Commit 6f34ce6

Browse files
authored
Merge pull request #160 from ericprud/master
Clarify that returned `Terms` are novel
2 parents 5a5a91d + f45677c commit 6f34ce6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ <h2>Design elements and principles</h2>
9999
<li>Instances of the interfaces created with different libraries should be interoperable.</li>
100100
<li>Interfaces do <em>not</em> specify how instances are stored in memory.</li>
101101
<li>Interfaces mandate specific pre-defined methods such as <code>.equals()</code>.</li>
102+
<li>
103+
Interfaces are not expected to expose internal objects or return the same object from sucessive calls. Callers shoud use the `Term.equals()` function instead of `===` or `==` to test for equivalence.
104+
</li>
102105
<li>
103106
Factory functions (e.g., <code>quad()</code>) or methods (e.g.,
104107
<code>store.createQuad()</code>) create instances.

0 commit comments

Comments
 (0)