This commit is contained in:
Scott Richmond 2023-06-02 16:04:03 -06:00
parent d6981b3714
commit 7d2a7061e8

View File

@ -42,6 +42,8 @@ fn filter {
} }
} }
let greater_than_two = gt (_, 2)
let xs = [1, 2, 3] let xs = [1, 2, 3]
filter (gte (_, 2) ,xs) filter (greater_than_two ,xs)