You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/codeql/ql-language-reference/signatures.rst
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
Signatures
8
8
##########
9
9
10
-
Parameterised modules use signatures as a type system for their parameters.
10
+
Parameterized modules use signatures as a type system for their parameters.
11
11
There are three categories of signatures: **predicate signatures**, **type signatures**, and **module signatures**.
12
12
13
13
Predicate signatures
@@ -76,7 +76,7 @@ In detail, a type signature definition consists of:
76
76
#. The keyword ``module``.
77
77
#. The name of the module signature. This is an `identifier <https://codeql.github.com/docs/ql-language-reference/ql-language-specification/#identifiers>`_
78
78
starting with a uppercase letter.
79
-
#. Optionally, a list of parameters for :ref:`parameterised module signatures <parameterised-module-signatures>`.
79
+
#. Optionally, a list of parameters for :ref:`parameterized module signatures <parameterized-module-signatures>`.
80
80
#. The module signature body, consisting of type signatures and predicate signatures enclosed in braces.
81
81
The ``signature`` keyword is omitted for these contained signatures.
82
82
@@ -95,12 +95,12 @@ For example:
95
95
predicate restriction(T t) { t = A() }
96
96
}
97
97
98
-
.. _parameterised-module-signatures:
98
+
.. _parameterized-module-signatures:
99
99
100
-
Parameterised module signatures
100
+
Parameterized module signatures
101
101
-------------------------------
102
102
103
-
Module signatures can themselves be paramterised in exactly the same way as parameterised modules.
103
+
Module signatures can themselves be parameterized in exactly the same way as parameterized modules.
104
104
This is particularly useful in combination with the dependent typing of module parameters.
0 commit comments