> Welcome to DrRacket, version 5.0.99.2--2010-11-11(686ec83/g) [3m].
> Language: Beginning Student.
> > (member? 1 (list 2 3 4 1))
> true




On Nov 11, 2010, at 10:32 AM, Shriram Krishnamurthi wrote:

> 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.mccar...@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 <sa...@ccs.neu.edu> 
>> wrote:
>> > On Thu, Nov 11, 2...
>> 
>> --
>> Jay McCarthy <j...@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://...
>> 
> 
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to