Skip to content

Commit 64d010b

Browse files
author
Adit Sheth
committed
Resolved bug 40681.
1 parent 6613c27 commit 64d010b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/fsharp/style-guide/formatting.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2103,13 +2103,14 @@ This section discusses formatting types and type annotations. This includes form
21032103

21042104
F# allows both postfix style of writing generic types (for example, `int list`) and the prefix style (for example, `list<int>`).
21052105
Postfix 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

21082108
1. For F# Lists, use the postfix form: `int list` rather than `list<int>`.
21092109
2. For F# Options, use the postfix form: `int option` rather than `option<int>`.
21102110
3. For F# Value Options, use the postfix form: `int voption` rather than `voption<int>`.
21112111
4. For F# arrays, use the postfix form: `int array` rather than `array<int>` or `int[]`.
21122112
5. 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

21142115
For all other types, use the prefix form.
21152116

0 commit comments

Comments
 (0)