Skip to content

Commit 0562b4a

Browse files
ginsbachp0
andauthored
restricted _subsets_ of algebraic datatypes
Co-authored-by: Pavel Avgustinov <[email protected]>
1 parent 63a6422 commit 0562b4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/language/ql-handbook/types.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ Type unions
493493
Type unions are user-defined types that are declared with the keyword ``class``.
494494
The syntax resembles :ref:`type aliases <type-aliases>`, but with two or more type expressions on the right-hand side.
495495

496-
Type unions are used for creating restricted versions of an existing :ref:`algebraic datatype <algebraic-datatypes>`, by explicitly
496+
Type unions are used for creating restricted subsets of an existing :ref:`algebraic datatype <algebraic-datatypes>`, by explicitly
497497
selecting a subset of the branches of that datatype and binding them to a new type.
498498
Type unions of :ref:`database types <database-types>` are also supported.
499499

0 commit comments

Comments
 (0)