Sorry for that question against a convention. The single =
in filter()
is the most common error made by me and my students. One of my students asked me, what the single equal sign is needed for in filter()
other than comparing. We both understand, that in other contexts the =
is used to define a variable or an object. Her argument is, that in filter()
, the error handler always say probably you forgot to write two ==
So why could filter()
not accept both? The absolute correct ==
and in context of filter()
unambiguous =
?
I‘m asking for the argument. So this question is meant as a question and not a suggestion! :-)