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