Skip to content

Commit 7c71926

Browse files
authored
Update index.md
improve the code example with n instead of 10
1 parent 8037b8c commit 7c71926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ let tenOfSpades = (Number 10), Spades
208208
match card with
209209
| Ace, Hearts -> printfn "Ace Of Hearts!"
210210
| _, Hearts -> printfn "A lovely heart"
211-
| (Number 10), Spades -> printfn "10 of Spades"
211+
| (Number n), Spades -> printfn "%d of Spades" n
212212
| _, (Diamonds|Clubs) -> printfn "Diamonds or clubs"
213213
214214
// Warning:

0 commit comments

Comments
 (0)