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
The ``library`` annotation is only usable within a QLL file, not a QL file.
818
818
The ``final`` annotation is usable on type aliases, but not on module aliases and predicate aliases.
@@ -933,7 +933,8 @@ A predicate definition adds a mapping from the predicate name and arity to the p
933
933
934
934
When a predicate is a top-level clause in a module, it is called a non-member predicate. See below for "`Member predicates <#member-predicates>`__."
935
935
936
-
A valid non-member predicate can be annotated with ``cached``, ``deprecated``, ``external``, ``transient``, ``private``, and ``query``. Note, the ``transient`` annotation can only be applied if the non-member predicate is also annotated with ``external``.
936
+
A valid non-member predicate can be annotated with ``additional``, ``cached``, ``deprecated``, ``extensible``, ``external``, ``transient``, ``private``, and ``query``.
937
+
Note, the ``transient`` annotation can only be applied if the non-member predicate is also annotated with ``external``.
937
938
938
939
The head of the predicate gives a name, an optional *result type*, and a sequence of variables declarations that are *arguments*:
939
940
@@ -979,7 +980,7 @@ A class type is said to *final inherit* from base types that are final or refere
979
980
980
981
A class adds a mapping from the class name to the class declaration to the current module's declared type environment.
981
982
982
-
A valid class can be annotated with ``abstract``, ``final``, ``library``, and ``private``. Any other annotation renders the class invalid.
983
+
A valid class can be annotated with ``abstract``, ``additional``, ``final``, ``library``, and ``private``. Any other annotation renders the class invalid.
983
984
984
985
A valid class may not inherit from itself, or from more than one primitive type. The set of types that a valid class inherits from must be disjoint from the set of types that it final inherits from.
985
986
@@ -2292,17 +2293,17 @@ The complete grammar for QL is as follows:
0 commit comments