Skip to content

Commit 225aff4

Browse files
committed
documentation: update section on applicativity
1 parent 493158a commit 225aff4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/codeql/ql-language-reference/modules.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@ For example, in the previous two snippets, we relied on the predicate signature
180180
signature int transformer(int x);
181181
182182
The instantiation of parameterized modules is applicative.
183-
That is, if you instantiate a parameterized module twice with identical arguments, the resulting object is the same.
183+
That is, if you instantiate a parameterized module twice with equivalent arguments, the resulting object is the same.
184+
Arguments are considered equivalent in this context if they differ only by :ref:`weak aliasing <weak_strong_aliases>`.
184185
This is particularly relevant for type definitions inside parameterized modules as :ref:`classes <classes>`
185186
or via :ref:`newtype <algebraic-datatypes>`, because the duplication of such type definitions would result in
186187
incompatible types.

0 commit comments

Comments
 (0)