[racket] member et al.
In fact, I proposed adding the ? forms of these functions where the new ones
are strictly boolean.
These are essential for the SLs since the standard versions are useless due
to the true/false tests in the language.
On Nov 11, 2010 6:44 AM, "Jay McCarthy" <jay.mccarthy at gmail.com> wrote:
I agree with Mark. I often write ? versions of functions like member
in my code when I write it the first time to show the "predicate
intent".
Another important case is when you don't want internal values to
"escape" to the client because you forget that member/and/etc return
the thing, not #t.
Jay
On Thu, Nov 11, 2010 at 6:07 AM, Sam Tobin-Hochstadt <samth at ccs.neu.edu>
wrote:
> On Thu, Nov 11, 2...
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay
"The glory of God is Intelligence" - D&C 93
_________________________________________________
For list-related administrative tasks:
http://...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20101111/b5949f4e/attachment.html>