Skip to content

Commit eadf2f5

Browse files
CopilotBillWagner
andcommitted
Add introduction to arrow syntax in for...in expression documentation
Co-authored-by: BillWagner <[email protected]>
1 parent b752227 commit eadf2f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/fsharp/language-reference/loops-for-in-expression.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The output is as follows.
4646
788
4747
```
4848

49-
The following example shows how to loop over a sequence, and how to use a tuple pattern instead of a simple variable.
49+
The following example shows how to loop over a sequence, and how to use a tuple pattern instead of a simple variable. In this example, the sequence expression uses the `->` operator, which is a shorthand for `do yield` in sequence expressions and other computation expressions. The `->` operator allows you to specify an expression whose value becomes part of the sequence. For more information, see [Sequences](sequences.md) and [Computation Expressions](computation-expressions.md).
5050

5151
[!code-fsharp[Main](~/samples/snippets/fsharp/lang-ref-2/snippet5202.fs)]
5252

0 commit comments

Comments
 (0)