Skip to content

Commit d23a5df

Browse files
author
Maxime Mangel
authored
Merge pull request #172 from daveyostcom/patch-1
Update index.md to improve the sample code
2 parents 8037b8c + 7c71926 commit d23a5df

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)