File tree 1 file changed +2
-2
lines changed
docs/language/ql-handbook 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -493,8 +493,8 @@ Type unions
493
493
Type unions are user-defined types that are declared with the keyword ``class ``.
494
494
The syntax resembles :ref: `type aliases <type-aliases >`, but with two or more type expressions on the right-hand side.
495
495
496
- Type unions are used for creating restricted versions of existing :ref: `algebraic datatypes <algebraic-datatypes >`, by explicitly
497
- selecting a subset of the branches of those datatypes and binding them to a new type.
496
+ Type unions are used for creating restricted versions of an existing :ref: `algebraic datatype <algebraic-datatypes >`, by explicitly
497
+ selecting a subset of the branches of that datatype and binding them to a new type.
498
498
Type unions of :ref: `database types <database-types >` are also supported.
499
499
500
500
You can use a type union to explicitly restrict the permitted branches from an algebraic datatype
You can’t perform that action at this time.
0 commit comments