Skip to content

Commit 41f7c5a

Browse files
committed
Fix incorrect predicate in Lesson 17.
1 parent 3e59527 commit 41f7c5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/code-listings/lesson-17.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ do
4848
// Listing 17.5
4949
let cheapFruit, expensiveFruit =
5050
inventory
51-
|> Map.partition(fun fruit cost -> cost > 0.3)
51+
|> Map.partition(fun fruit cost -> cost < 0.3)
5252

5353
()
5454

0 commit comments

Comments
 (0)