• + 1 comment

    matter of taste, whether you prefer "f(x) = sin(x)" or "f = sin"... But anyway, the exercise is to write your own filter function and not use the built-in one.