File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2103,13 +2103,14 @@ This section discusses formatting types and type annotations. This includes form
21032103
21042104F# allows both postfix style of writing generic types (for example, ` int list ` ) and the prefix style (for example, ` list<int> ` ).
21052105Postfix style can only be used with a single type argument.
2106- Always prefer the .NET style, except for five specific types:
2106+ Always prefer the .NET style, except for six specific types:
21072107
210821081 . For F# Lists, use the postfix form: ` int list ` rather than ` list<int> ` .
210921092 . For F# Options, use the postfix form: ` int option ` rather than ` option<int> ` .
211021103 . For F# Value Options, use the postfix form: ` int voption ` rather than ` voption<int> ` .
211121114 . For F# arrays, use the postfix form: ` int array ` rather than ` array<int> ` or ` int[] ` .
211221125 . For Reference Cells, use ` int ref ` rather than ` ref<int> ` or ` Ref<int> ` .
2113+ 6 . For F# Sequences, use the postfix form: ` int seq ` rather than ` seq<int> ` .
21132114
21142115For all other types, use the prefix form.
21152116
You can’t perform that action at this time.
0 commit comments