[I don't think he cares about (). See remark on protecting the function.]
On Jul 28, 2010, at 5:12 PM, Sam Tobin-Hochstadt wrote: > On Wed, Jul 28, 2010 at 1:44 PM, Matthias Felleisen > <[email protected]> wrote: >> >> (Nothing about futures. But may I recommend a nice and simple 'optimization': >> >> (cond >> [(= 1 (length values)) ...] >> >> adds quite some complexity to a recursive function over a list. >> I'd use >> >> (empty? (rest values)) >> >> instead. > > This breaks on `null'. > -- > sam th > [email protected] _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

