[racket] Delete Second

From: Danny Yoo (dyoo at hashcollision.org)
Date: Mon Sep 17 13:22:47 EDT 2012

On Mon, Sep 17, 2012 at 11:19 AM, Ashley Fowler
<afowler2 at broncos.uncfsu.edu> wrote:
> Yeah I got a error.
>
> This is what I got so far though.
>
>  (if(< (length ls) 1)(append(list(car ls))(cdr(cdr ls)))

I can't read this one-liner.  I can't count parens.  :)

Let me break it down into a few lines:

;;;;;;;;;;;;;;;;;;;;;;;;
(if (< (length ls) 1)
    (append (list (car ls))
            (cdr (cdr ls))))
;;;;;;;;;;;;;;;;;;;;;;;;;


Posted on the users mailing list.