diff --git a/sandbox.ld b/sandbox.ld index 23bce84..468c891 100644 --- a/sandbox.ld +++ b/sandbox.ld @@ -42,6 +42,8 @@ fn filter { } } +let greater_than_two = gt (_, 2) + let xs = [1, 2, 3] -filter (gte (_, 2) ,xs) \ No newline at end of file +filter (greater_than_two ,xs) \ No newline at end of file