Skip to content

Commit

Permalink
Merge pull request #572 from RaphCayou/patch-1
Browse files Browse the repository at this point in the history
Fix variable name in Choose section of readme
  • Loading branch information
vkhorikov authored Oct 1, 2024
2 parents 45a4c97 + 65044ce commit b421543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ IEnumerable<Maybe<string>> unknownFruits = new[] { "apple", Maybe<string>.None,
IEnumerable<string> knownFruits = unknownFruits.Choose();
IEnumerable<string> fruitResponses = unknownFruits.Choose(fruit => $"Delicious {fruit}");

Console.WriteLine(string.Join(", ", fruits)) // "apple, banana"
Console.WriteLine(string.Join(", ", knownFruits)) // "apple, banana"
Console.WriteLine(string.Join(", ", fruitResponses)) // "Delicious apple, Delicious banana"
```

Expand Down

0 comments on commit b421543

Please sign in to comment.