Why are some Racket functions such a &#39;member&#39; not designed as booleans?<br>I would expect &#39;member&#39; to be a boolean.<br>I am inclined to write my own version of &#39;member&#39; that is boolean.<br>Before I do, I am wondering if the bright person who designed the Racket function: &#39;member&#39;, did so for some very good reason that is not obvious to me.<br>
I notice that there are a number of other Racket functions like this, where they return #t or the value of the argument passed to the function, not #t or #f.<br>I am just looking for the concept so that I might be convinced that I should use the racket function as it is, rather than writing a boolean version.<br>
Thanks  <br><br>