On Feb 13, 2011, at 7:30 PM, Eli Barzilay <e...@barzilay.org> wrote:

> ... the
> bottom line is that the test of "non-#f" is very common -- so I really
> don't want to force people to write some verbose
> 
>  (test (and E #t) => #t)
> 
> or
> 
>  (test (not (not E)) => #t)
> 
> or even
> 
>  (test (true? E) => #t)

But this "verbose" solution is still not significantly longer than the nested 
"test" you propose.  In any case, wouldn't

(test E /=> #f)

be even shorter and clearer?

> 

Stephen Bloch
sbl...@adelphi.edu
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to