Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita16cdc2

Browse files
cartermpKevinRansom
authored andcommitted
Update Tutorial.fsx (dotnet#2331)
Fix sentence that I forgot to complete.
1 parent08520be commita16cdc2

File tree

1 file changed

+2
-1
lines changed
  • vsintegration/ProjectTemplates/TutorialProject/Template

1 file changed

+2
-1
lines changed

‎vsintegration/ProjectTemplates/TutorialProject/Template/Tutorial.fsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@ module Tuples =
211211
letsampleStructTuple=struct(1,2)
212212
//let thisWillNotCompile: (int*int) = struct (1, 2)
213213

214-
// Although you can
214+
// Although you cannot implicitly convert between struct tuples and reference tuples,
215+
// you can explicitly convert via pattern matching, as demonstrated below.
215216
letconvertFromStructTuple(struct(a,b))=(a, b)
216217
letconvertToStructTuple(a,b)=struct(a, b)
217218

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp