Skip to content

Commit c21ca8f

Browse files
committed
better description of example code
1 parent 5c69b42 commit c21ca8f

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
@@ -183,7 +183,8 @@ The instantiation of parameterized modules is applicative, meaning that repeated
183183
identical arguments results in the same object. This is particularly relevant for type definitions inside parameterized
184184
modules as :ref:`classes <classes>` or via :ref:`newtype <algebraic-datatypes>`.
185185

186-
For example, the following generates an error for the second call to ``foo``, but not for the first:
186+
The following example instantiates module ``M`` inside calls to predicate ``foo`` twice.
187+
The first call is valid but the second call generates an error.
187188

188189
.. code-block:: ql
189190

0 commit comments

Comments
 (0)