Anonymous Functions with ÒImportedÓ
Values
l
drop_multiples(
X
, L) =
drop((Y) => (Y%
X
== 0),
L)
The predicate that tests
divisibility by X.
l
Here X is
imported
to the anonymous function; it
is not an argument to it.
l
This form of usage is
VERY IMPORTANT.